FilePersistDocument<T> class

A FilePersistDocument is sent to the worker instead of the Document class since that class has additional fields and references that would be unnecessarily copied into the isolate. It also has back references to the Loon instance which shouldn't be accessed in the isolate.

Constructors

FilePersistDocument({required String path, required dynamic data, required bool encrypted})

Properties

data → dynamic
The updated document data.
final
encrypted bool
Whether encryption is enabled for this document.
final
hashCode int
The hash code for this object.
no setterinherited
path String
The path of the document in the store.
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
toString() String
A string representation of this object.
inherited

Operators

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