$NoteModelDocument class
Inheritance
Implemented types
Mixed-in types
Properties
databaseQuery
→ ModelAdapterDocumentQuery
Database queries for documents.
no setter inherited
hashCode
→ int
The hash code for this object.
no setter inherited
hasListeners
→ bool
Whether any listeners are currently registered.
no setter inherited
loaded
→ bool
Returns true if the data was successfully loaded by the load method.
no setter inherited
loading
→ Future <NoteModel ? > ?
If load or reload is executed, it waits until the loading process is completed.
no setter inherited
modelQuery
→ DocumentModelQuery
Query for loading and saving documents.
final inherited
runtimeType
→ Type
A representation of the runtime type of the object.
no setter inherited
saving
→ Future <void > ?
If save or delete is executed, it waits until the read process is completed.
no setter inherited
subscriptions
→ List <StreamSubscription >
List of currently subscribed notifications. All should be canceled when the object is destroyed.
no setter inherited
uid
→ String
Returns the ID for the document path.
no setter inherited
value
→ NoteModel ?
The current value stored in this document.
no setter inherited
Methods
addListener (VoidCallback listener )
→ void
Register a closure to be called when the object changes.
inherited
delete ()
→ Future <void >
Data can be deleted.
inherited
deleteRequest ()
→ Future <void >
Implement internal processing when delete is executed.
inherited
dispose ()
→ void
Discards any resources used by the object. After this is called, the
object is not in a usable state and should be discarded (calls to
addListener will throw after the object is disposed).
inherited
filterOnDidLoad (NoteModel ? value )
→ Future <NoteModel ? >
Callback called after loading.
inherited
filterOnLoad (DynamicMap rawData )
→ DynamicMap
Implement filters when loading data.
inherited
filterOnSave (DynamicMap rawData )
→ DynamicMap
You can filter the data to be saved.
inherited
fromMap (DynamicMap map )
→ NoteModel
Defines the object transformation from DynamicMap to T, which is output by decoding Json.
override
handledOnUpdate (ModelUpdateNotification update )
→ Future <void >
Describe the callback process to be passed to ModelAdapterDocumentQuery.callback.
inherited
load ()
→ Future <NoteModel ? >
Reads documents corresponding to modelQuery.
inherited
loadRequest ()
→ Future <DynamicMap? >
Implement internal processing when load or reload is executed.
inherited
noSuchMethod (Invocation invocation )
→ dynamic
Invoked when a nonexistent method or property is accessed.
inherited
notifyListeners ()
→ void
Call all the registered listeners.
inherited
reload ()
→ Future <NoteModel ? >
Reload the document corresponding to modelQuery.
inherited
removeListener (VoidCallback listener )
→ void
Remove a previously registered closure from the list of closures that are
notified when the object changes.
inherited
save (NoteModel ? newValue )
→ Future <void >
Data can be saved.
inherited
saveRequest (DynamicMap map )
→ Future <void >
Implement internal processing when save is executed.
inherited
toJson ()
→ Map <String , dynamic >
Methods for Json serialization.
inherited
toMap (NoteModel value )
→ DynamicMap
Defines the conversion from a T object to a DynamicMap that can later be Json encoded.
override
toString ()
→ String
A string representation of this object.
inherited
transaction ()
→ ModelTransactionBuilder<NoteModel >
Create a transaction builder.
inherited
masamune_module_simpleblog 1.2.3