FileProvider class

File abstraction that can be read and written

A FileProvider instance is an object that holds a name on which operations can be performed.

See related LocalFile, MockFile

Mixed in types
Implementers

Constructors

FileProvider()

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
name String
read-only, override
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
read(FileDataType type) Future<FileData>
inherited
readAsBytes() Future<Uint8List>
inherited
readAsString() Future<String>
inherited
readDataOfExactType<T extends FileData>() Future<T>
inherited
toString() String
A string representation of this object. [...]
inherited
write(FileData data) Future
inherited
writeAsBytes(Uint8List bytes) Future
inherited
writeAsString(String content) Future
inherited

Operators

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