SignUpRequest constructor

SignUpRequest({
  1. String? email,
  2. String? password,
  3. UserType? userType,
  4. String? ref,
})

Implementation

factory SignUpRequest({
  $core.String? email,
  $core.String? password,
  UserType? userType,
  $core.String? ref,
}) {
  final $result = create();
  if (email != null) {
    $result.email = email;
  }
  if (password != null) {
    $result.password = password;
  }
  if (userType != null) {
    $result.userType = userType;
  }
  if (ref != null) {
    $result.ref = ref;
  }
  return $result;
}