copyWith method

FoundGroups copyWith({
  1. List<FoundGroup>? groups,
  2. String? header,
  3. int? total,
})

Implementation

FoundGroups copyWith({List<FoundGroup>? groups, String? header, int? total}) {
  return FoundGroups(
    groups: groups ?? this.groups,
    header: header ?? this.header,
    total: total ?? this.total,
  );
}