UserMeta constructor

UserMeta({
  1. LoginType? registrationType,
  2. Timestamp? createdAt,
  3. Timestamp? updatedAt,
  4. bool? isPhoneVerified,
  5. bool? isEmailVerified,
})

Implementation

factory UserMeta({
  LoginType? registrationType,
  $2.Timestamp? createdAt,
  $2.Timestamp? updatedAt,
  $core.bool? isPhoneVerified,
  $core.bool? isEmailVerified,
}) {
  final _result = create();
  if (registrationType != null) {
    _result.registrationType = registrationType;
  }
  if (createdAt != null) {
    _result.createdAt = createdAt;
  }
  if (updatedAt != null) {
    _result.updatedAt = updatedAt;
  }
  if (isPhoneVerified != null) {
    _result.isPhoneVerified = isPhoneVerified;
  }
  if (isEmailVerified != null) {
    _result.isEmailVerified = isEmailVerified;
  }
  return _result;
}