Group constructor

Group({
  1. String? id,
  2. String? creatorId,
  3. String? name,
  4. String? description,
  5. String? langTag,
  6. String? metadata,
  7. String? avatarUrl,
  8. BoolValue? open,
  9. int? edgeCount,
  10. int? maxCount,
  11. Timestamp? createTime,
  12. Timestamp? updateTime,
})

Implementation

factory Group({
  $core.String? id,
  $core.String? creatorId,
  $core.String? name,
  $core.String? description,
  $core.String? langTag,
  $core.String? metadata,
  $core.String? avatarUrl,
  $1.BoolValue? open,
  $core.int? edgeCount,
  $core.int? maxCount,
  $0.Timestamp? createTime,
  $0.Timestamp? updateTime,
}) {
  final _result = create();
  if (id != null) {
    _result.id = id;
  }
  if (creatorId != null) {
    _result.creatorId = creatorId;
  }
  if (name != null) {
    _result.name = name;
  }
  if (description != null) {
    _result.description = description;
  }
  if (langTag != null) {
    _result.langTag = langTag;
  }
  if (metadata != null) {
    _result.metadata = metadata;
  }
  if (avatarUrl != null) {
    _result.avatarUrl = avatarUrl;
  }
  if (open != null) {
    _result.open = open;
  }
  if (edgeCount != null) {
    _result.edgeCount = edgeCount;
  }
  if (maxCount != null) {
    _result.maxCount = maxCount;
  }
  if (createTime != null) {
    _result.createTime = createTime;
  }
  if (updateTime != null) {
    _result.updateTime = updateTime;
  }
  return _result;
}