ReportSaver class
Service for persisting, downloading, or sharing generated ReportArtifact instances.
Constructors
- ReportSaver({FileDownloader? downloader})
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
-
save(
ReportArtifact artifact) → Future< void> -
Saves or downloads the
artifactto the local device or browser. -
saveBytes(
List< int> bytes, String filename, {String? mimeType}) → Future<void> -
Convenience method to save raw
byteswith a specifiedfilename. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited