FdcExportColumn class

Maps one source field to its exported identity and presentation metadata.

fieldName identifies the value in each source row. Object-oriented writers can use key, tabular writers can use label as a header, and presentation-oriented writers can honor valueFormatter and textAlignment.

Constructors

FdcExportColumn({required String fieldName, String? key, String? label, FdcExportValueFormatter? valueFormatter, FdcExportTextAlignment textAlignment = FdcExportTextAlignment.left})
Creates a FdcExportColumn.
const

Properties

fieldName → String
Source field name used to resolve the value from each row.
final
hashCode → int
The hash code for this object.
no setteroverride
key → String?
Stable output key used by object-oriented formats such as JSON.
final
label → String?
Human-readable header used by tabular and presentation-oriented writers.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
textAlignment → FdcExportTextAlignment
Preferred text alignment for writers that render positioned text.
final
valueFormatter → FdcExportValueFormatter?
Optional display formatter supplied by a presentation source such as a grid.
final

Methods

copyWith({String? fieldName, String? key, String? label, FdcExportValueFormatter? valueFormatter, FdcExportTextAlignment? textAlignment}) → FdcExportColumn
Returns a copy with the supplied properties replaced.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
override