FdcExportFormat class
Export output format descriptor.
Core FDC ships built-in json, csv, and xml formats. The type is a const value object instead of an enum so extension packages can define additional formats without requiring the core package to know about them.
Constructors
- FdcExportFormat(String id, {required String label, required String fileExtension, required String mimeType, IconData? icon})
-
Creates a FdcExportFormat.
const
Properties
- fileExtension → String
-
Default file extension without a leading dot.
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- icon → IconData?
-
Optional icon used by export menus and other format-aware UI.
final
- id → String
-
Stable machine-readable format id.
final
- label → String
-
Human-readable label shown in menus and diagnostics.
final
- mimeType → String
-
MIME type produced by this format.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override
Constants
-
builtInFormats
→ const List<
FdcExportFormat> - Built-in formats provided by the core package.
- csv → const FdcExportFormat
- Built-in CSV export format.
- json → const FdcExportFormat
- Built-in JSON export format.
- xml → const FdcExportFormat
- Built-in XML export format.