FileStorage class

Constructors

FileStorage.absolute(Storage storage, String directoryAbsolute, String name)
FileStorage.fromAbsolutePath(Storage storage, String path)
factory
FileStorage.fromRelativePath(Storage storage, String path)
factory
FileStorage.relative(Storage storage, String directory, String name)

Properties

directory String
no setter
directoryAbsolute String
final
hashCode int
The hash code for this object.
no setterinherited
name String
final
path String
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
storage Storage
final

Methods

getContentAsBytes() FutureOr<Uint8List>
getContentAsString() FutureOr<String>
getType() FutureOr<String>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
saveAt(String rootPath) FutureOr<String?>
toString() String
A string representation of this object.
override

Operators

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

Static Methods

buildPath(String directory, String name) String