copyWith method
Creates a copy with selected values replaced.
Implementation
FdcGridColumnGroup copyWith({
String? id,
String? label,
FdcGridColumnGroupStyle? style,
}) {
return FdcGridColumnGroup(
id: id ?? this.id,
label: label ?? this.label,
style: style ?? this.style,
);
}