SignUp$Mutation$CreateUser.fromJson constructor

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

Implementation

factory SignUp$Mutation$CreateUser.fromJson(Map<String, dynamic> json) {
  switch (json['__typename'].toString()) {
    case r'CreateSessionOk':
      return SignUp$Mutation$CreateUser$CreateSessionOk.fromJson(json);
    case r'CreateUserError':
      return SignUp$Mutation$CreateUser$CreateUserError.fromJson(json);
    default:
  }
  return _$SignUp$Mutation$CreateUserFromJson(json);
}