SetHumanProfile constructor

SetHumanProfile({
  1. String? givenName,
  2. String? familyName,
  3. String? nickName,
  4. String? displayName,
  5. String? preferredLanguage,
  6. Gender? gender,
})

Implementation

factory SetHumanProfile({
  $core.String? givenName,
  $core.String? familyName,
  $core.String? nickName,
  $core.String? displayName,
  $core.String? preferredLanguage,
  Gender? gender,
}) {
  final $result = create();
  if (givenName != null) {
    $result.givenName = givenName;
  }
  if (familyName != null) {
    $result.familyName = familyName;
  }
  if (nickName != null) {
    $result.nickName = nickName;
  }
  if (displayName != null) {
    $result.displayName = displayName;
  }
  if (preferredLanguage != null) {
    $result.preferredLanguage = preferredLanguage;
  }
  if (gender != null) {
    $result.gender = gender;
  }
  return $result;
}