RegisterRequest constructor

RegisterRequest({
  1. String? email,
  2. String? password,
  3. String? name,
  4. Int64? cap,
})

Implementation

factory RegisterRequest({
  $core.String? email,
  $core.String? password,
  $core.String? name,
  $fixnum.Int64? cap,
}) {
  final _result = create();
  if (email != null) {
    _result.email = email;
  }
  if (password != null) {
    _result.password = password;
  }
  if (name != null) {
    _result.name = name;
  }
  if (cap != null) {
    _result.cap = cap;
  }
  return _result;
}