UpdateAccountRequest constructor

UpdateAccountRequest({
  1. StringValue? username,
  2. StringValue? displayName,
  3. StringValue? avatarUrl,
  4. StringValue? langTag,
  5. StringValue? location,
  6. StringValue? timezone,
})

Implementation

factory UpdateAccountRequest({
  $1.StringValue? username,
  $1.StringValue? displayName,
  $1.StringValue? avatarUrl,
  $1.StringValue? langTag,
  $1.StringValue? location,
  $1.StringValue? timezone,
}) {
  final _result = create();
  if (username != null) {
    _result.username = username;
  }
  if (displayName != null) {
    _result.displayName = displayName;
  }
  if (avatarUrl != null) {
    _result.avatarUrl = avatarUrl;
  }
  if (langTag != null) {
    _result.langTag = langTag;
  }
  if (location != null) {
    _result.location = location;
  }
  if (timezone != null) {
    _result.timezone = timezone;
  }
  return _result;
}