FdcExportRegistry class
Global registry of export writers available to FDC.
The Community package registers its built-in CSV, JSON, and XML writers. Extension packages can add formats without coupling the core package to those packages.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- 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.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
-
formats
→ List<
FdcExportFormat> -
Immutable snapshot of all currently registered export formats.
no setter
Static Methods
-
contains(
FdcExportFormat format) → bool -
Returns whether a writer is registered for
format. -
register(
FdcExportFormat format, FdcExportWriter writer) → void -
Registers or replaces the writer for
format. -
writerFor(
FdcExportFormat format) → FdcExportWriter? -
Returns the writer registered for
format, ornullwhen none exists.