copyWith method

HubSubgroup copyWith({
  1. int? subgroupId,
  2. int? groupId,
  3. String? name,
})

Implementation

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