copyWith method

FdcGridColumnGroup copyWith({
  1. String? id,
  2. String? label,
  3. FdcGridColumnGroupStyle? style,
})

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,
  );
}