UserInfo constructor

UserInfo({
  1. StringValue? email,
  2. StringValue? uid,
  3. BoolValue? emailVerified,
  4. StringValue? displayName,
  5. StringValue? password,
  6. BoolValue? disabled,
  7. StringValue? phoneNumber,
  8. StringValue? photoUrl,
})

Implementation

factory UserInfo({
  $9.StringValue? email,
  $9.StringValue? uid,
  $9.BoolValue? emailVerified,
  $9.StringValue? displayName,
  $9.StringValue? password,
  $9.BoolValue? disabled,
  $9.StringValue? phoneNumber,
  $9.StringValue? photoUrl,
}) {
  final _result = create();
  if (email != null) {
    _result.email = email;
  }
  if (uid != null) {
    _result.uid = uid;
  }
  if (emailVerified != null) {
    _result.emailVerified = emailVerified;
  }
  if (displayName != null) {
    _result.displayName = displayName;
  }
  if (password != null) {
    _result.password = password;
  }
  if (disabled != null) {
    _result.disabled = disabled;
  }
  if (phoneNumber != null) {
    _result.phoneNumber = phoneNumber;
  }
  if (photoUrl != null) {
    _result.photoUrl = photoUrl;
  }
  return _result;
}