copyWith method
Implementation
ParameterGroupDTO copyWith(
{int? id,
String? name,
List<int>? registerMapIds,
List<ParameterSubGroupDTO>? subGroups}) {
return ParameterGroupDTO(
id: id ?? this.id,
name: name ?? this.name,
registerMapIds: registerMapIds ?? this.registerMapIds,
subGroups: subGroups ?? this.subGroups);
}