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