UpdateGroupRequest constructor

UpdateGroupRequest({
  1. String? groupId,
  2. StringValue? name,
  3. StringValue? description,
  4. StringValue? langTag,
  5. StringValue? avatarUrl,
  6. BoolValue? open,
})

Implementation

factory UpdateGroupRequest({
  $core.String? groupId,
  $1.StringValue? name,
  $1.StringValue? description,
  $1.StringValue? langTag,
  $1.StringValue? avatarUrl,
  $1.BoolValue? open,
}) {
  final _result = create();
  if (groupId != null) {
    _result.groupId = groupId;
  }
  if (name != null) {
    _result.name = name;
  }
  if (description != null) {
    _result.description = description;
  }
  if (langTag != null) {
    _result.langTag = langTag;
  }
  if (avatarUrl != null) {
    _result.avatarUrl = avatarUrl;
  }
  if (open != null) {
    _result.open = open;
  }
  return _result;
}