MemoryStorage class

Class for using storage functions on runtime memory.

Basically, it is stored as a map of paths and real data Uint8List.

ランタイムメモリ上でストレージ機能を利用するためのクラス。

基本的にはパスと実データUint8Listのマップとして保管されます。

Inheritance
Available Extensions

Constructors

MemoryStorage()
Class for using storage functions on runtime memory.

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

delete(String fileFullPath) Future<void>
Passing fileFullPath, the full path of the storage, will delete files at that location.
override
exists(String fileFullPath) Future<bool>
By passing fileFullPath, which is the full path of the storage, it checks if the file exists at that location.
override
fetchURI(String fileRelativePath) Future<String>
Passing fileRelativePath, a path relative to the storage root, returns the full path to the file at that location.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
read(String fileFullPath) Future<Uint8List>
By passing fileFullPath, the full path of the storage, data can be retrieved from that path.
override
setRawData(Map<String, Uint8List> rawData) → void
You can input data directly by passing rawData.
toString() String
A string representation of this object.
inherited
write(String fileFullPath, Uint8List bytes) Future<void>
By passing the full path of the storage fileFullPath and the actual data bytes, the file can be saved in that path.
override

Operators

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