copyWith method

FoundGroup copyWith({
  1. String? groupId,
  2. String? html,
  3. List<GroupLabel>? labels,
  4. String? name,
})

Implementation

FoundGroup copyWith(
    {String? groupId, String? html, List<GroupLabel>? labels, String? name}) {
  return FoundGroup(
    groupId: groupId ?? this.groupId,
    html: html ?? this.html,
    labels: labels ?? this.labels,
    name: name ?? this.name,
  );
}