AddUserPhone$Mutation$AddUserPhone.fromJson constructor

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

Implementation

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