FileStorage class final

Documents kept as files, one per name, in a directory this platform owns.

Implemented types

Constructors

FileStorage({required String appName, Directory? directory, IssueSink? onIssue})

Properties

appName String
final
directory Directory?
Resolved on first use rather than in the constructor.
latefinal
hashCode int
The hash code for this object.
no setterinherited
onIssue IssueSink
Where this says what the platform would not let it do.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
read(String name) String?
The document called name, or null if there is not one.
override
remove(String name) → void
Forgets name, if it is there.
override
toString() String
A string representation of this object.
inherited
write(String name, String contents) bool
Writes contents, and says whether it managed to.
override

Operators

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