copyWith method
FdcExportColumn
copyWith({
- String? fieldName,
- String? key,
- String? label,
- FdcExportValueFormatter? valueFormatter,
- FdcExportTextAlignment? textAlignment,
Returns a copy with the supplied properties replaced.
Implementation
FdcExportColumn copyWith({
String? fieldName,
String? key,
String? label,
FdcExportValueFormatter? valueFormatter,
FdcExportTextAlignment? textAlignment,
}) {
return FdcExportColumn(
fieldName: fieldName ?? this.fieldName,
key: key ?? this.key,
label: label ?? this.label,
valueFormatter: valueFormatter ?? this.valueFormatter,
textAlignment: textAlignment ?? this.textAlignment,
);
}