AddUserEmail$Mutation$AddUserEmail.fromJson constructor

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

Implementation

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