DeleteUserEmail$Mutation$DeleteUserEmail.fromJson constructor

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

Implementation

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