SimpleFileFormat class

Inheritance

Constructors

SimpleFileFormat({List<PlatformFormat>? androidFormats, List<PlatformFormat>? iosFormats, List<PlatformFormat>? linuxFormats, List<PlatformFormat>? macosFormats, List<PlatformFormat>? windowsFormats, List<PlatformFormat>? webFormats, List<PlatformFormat>? uniformTypeIdentifiers, List<PlatformFormat>? mimeTypes, List<PlatformFormat> fallbackFormats = const []})
const

Properties

androidFormats List<PlatformFormat>?
final
fallbackFormats List<PlatformFormat>
final
hashCode int
The hash code for this object.
no setterinherited
iosFormats List<PlatformFormat>?
final
linuxFormats List<PlatformFormat>?
final
macosFormats List<PlatformFormat>?
final
mimeTypes List<PlatformFormat>?
final
providerFormat PlatformFormat
Platform format used when providing the virtual file.
no setteroverride
receiverFormats List<PlatformFormat>
List of platform formats used when obtaining VirtualFileReceiver from DataReader. First formats for the list that yields a receiver will be used.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
uniformTypeIdentifiers List<PlatformFormat>?
final
webFormats List<PlatformFormat>?
final
windowsFormats List<PlatformFormat>?
final

Methods

call(Uint8List data) FutureOr<EncodedData>
Encodes the provided data to platform specific format. The encoded data can be added to DataWriterItem.
inherited
lazy(DataProvider<Uint8List> provider) FutureOr<EncodedData>
Encodes the provided lazy data. Some platforms support providing the data on demand. In which case the provider callback will be invoked when the data is requested. On platforms that do not support this (iOS, web) the provider callback will be called eagerly.
inherited
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