DeleteMyUser$Mutation$DeleteMyUser.fromJson constructor

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

Implementation

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