copyWith method
Implementation
HubSubgroup copyWith({int? subgroupId, int? groupId, String? name}) {
return HubSubgroup(
subgroupId: subgroupId ?? this.subgroupId,
groupId: groupId ?? this.groupId,
name: name ?? this.name);
}
HubSubgroup copyWith({int? subgroupId, int? groupId, String? name}) {
return HubSubgroup(
subgroupId: subgroupId ?? this.subgroupId,
groupId: groupId ?? this.groupId,
name: name ?? this.name);
}