FdcExportResult class
Completed export together with its format metadata and serialized payload.
Constructors
- FdcExportResult({required FdcExportFormat format, required FdcExportPayload payload, required String mimeType, required String fileExtension, String? suggestedFileName})
-
Creates a FdcExportResult.
const
Properties
- bytes → Uint8List
-
Serialized bytes for every export format.
no setter
- fileExtension → String
-
File extension advertised by format, without a leading dot.
final
- format → FdcExportFormat
-
Format requested for this export.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- mimeType → String
-
MIME type advertised by format.
final
- payload → FdcExportPayload
-
Serialized content produced by the resolved writer.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- suggestedFileName → String?
-
Optional caller-supplied file name hint for save/share UI.
final
- text → String
-
Text content for textual formats.
no setter
- textOrNull → String?
-
Text content, or
nullfor binary formats such as PDF.no setter - utf8Bytes → Uint8List
-
Backwards-compatible alias for bytes.
no setter
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