FdcExportWriterContext class
Immutable export request passed to an FdcExportWriter.
The exporter resolves row scope and column order before creating this context. Writers can then focus exclusively on format serialization.
Constructors
-
FdcExportWriterContext({required FdcExportFormat format, required FdcExportOptions options, required List<
FdcExportColumn> columns, required List<Map< rows, String? suggestedFileName, FdcExportWriterOptions? writerOptions, FdcExportStyle exportStyle = const FdcExportStyle()})String, Object?> > -
Creates a FdcExportWriterContext.
const
Properties
-
columns
→ List<
FdcExportColumn> -
Export columns in output order.
final
- exportStyle → FdcExportStyle
-
App/subtree-level format styles supplied by the UI export host.
final
- format → FdcExportFormat
-
Requested output format.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- options → FdcExportOptions
-
Cross-format export options for this request.
final
-
rows
→ List<
Map< String, Object?> > -
Materialized row values in export order.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- suggestedFileName → String?
-
Optional file name hint propagated from the export caller.
final
- writerOptions → FdcExportWriterOptions?
-
Format-specific options supplied by the export caller.
final
Methods
-
displayTextFor(
Map< String, Object?> row, FdcExportColumn column) → String - Returns presentation text for writers such as PDF.
-
elementNameFor(
FdcExportColumn column) → String -
Returns the XML-oriented element name candidate for
column. -
headerFor(
FdcExportColumn column) → String -
Returns the human-readable tabular header for
column. -
keyFor(
FdcExportColumn column) → String -
Returns the object-oriented output key for
column. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
valueFor(
Map< String, Object?> row, FdcExportColumn column) → Object? -
Resolves the source value for
columnfromrow.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited