copyWith method

HubGroup copyWith({
  1. int? groupId,
  2. String? name,
})

Implementation

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