DataReaderFile class abstract

Constructors

DataReaderFile()

Properties

fileName String?
Returns file name for the file, if available. File name at this point, if present, will be more reliable than the one provided by DataReader.getSuggestedName;
no setter
fileSize int?
Returns the file size if available.
no setter
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

close() → void
Closes the file. This only needs to be called manually when stream was requested through getStream but not consumed. Otherwise it is called automatically at the end of value callback or when stream is consumed.
getStream() Stream<Uint8List>
Returns the result of the data as stream. This can only be called once per value. Stream must be requested within the onFile callback.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
readAll() Future<Uint8List>
Reads the rest of the data and returns it as a single chunk.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited