UpdateUserLogin$Mutation$UpdateUserLogin.fromJson constructor

UpdateUserLogin$Mutation$UpdateUserLogin.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory UpdateUserLogin$Mutation$UpdateUserLogin.fromJson(
  Map<String, dynamic> json,
) {
  switch (json['__typename'].toString()) {
    case r'MyUserEventsVersioned':
      return UpdateUserLogin$Mutation$UpdateUserLogin$MyUserEventsVersioned.fromJson(
        json,
      );
    case r'UpdateUserLoginError':
      return UpdateUserLogin$Mutation$UpdateUserLogin$UpdateUserLoginError.fromJson(
        json,
      );
    default:
  }
  return _$UpdateUserLogin$Mutation$UpdateUserLoginFromJson(json);
}