CreateGroupRequest constructor

CreateGroupRequest({
  1. String? name,
  2. String? description,
  3. String? langTag,
  4. String? avatarUrl,
  5. bool? open,
  6. int? maxCount,
})

Implementation

factory CreateGroupRequest({
  $core.String? name,
  $core.String? description,
  $core.String? langTag,
  $core.String? avatarUrl,
  $core.bool? open,
  $core.int? maxCount,
}) {
  final _result = create();
  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;
  }
  if (maxCount != null) {
    _result.maxCount = maxCount;
  }
  return _result;
}