Editor class
Edits the values for an entry.
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
-
abort(
) → Future< void> - Aborts this edit. This releases the edit lock so another edit may be started on the same key.
-
commit(
) → Future< void> - Commits this edit so it is visible to readers. This releases the edit lock so another edit may be started on the same key.
-
newSink(
int index) → Future< Sink> -
Returns a new unbuffered output stream to write the value at
index
. If the underlying output stream encounters errors when writing to the filesystem, this edit will be aborted when commit is called. -
newSource(
int index) → Future< Source?> - Returns an unbuffered input stream to read the last committed value, or null if no value has been committed.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited