toJson method

  1. @override
Map<String, dynamic> toJson()
override

Implementation

@override
Map<String, dynamic> toJson() {
  switch ($$typename) {
    case r'CreateSessionOk':
      return (this as SignUp$Mutation$CreateUser$CreateSessionOk).toJson();
    case r'CreateUserError':
      return (this as SignUp$Mutation$CreateUser$CreateUserError).toJson();
    default:
  }
  return _$SignUp$Mutation$CreateUserToJson(this);
}