copyWith method

GroupV2 copyWith({
  1. String? id,
  2. String? name,
  3. String? description,
})

Implementation

GroupV2 copyWith({String? id, String? name, String? description}) {
  return GroupV2(
      id: id ?? this.id,
      name: name ?? this.name,
      description: description ?? this.description);
}