loadDocument method
LocalDynamicDocumentModel
loadDocument(
- LocalDynamicDocumentModel document, [
- bool once = false
override
Performs the process of loading a document.
Usually, you specify a method that can be executed only the first time,
such as loadOnce
or listen
.
If you set once
to true
, loadOnce
is used even if the model can use listen
.
Implementation
@override
LocalDynamicDocumentModel loadDocument(LocalDynamicDocumentModel document,
[bool once = false]) {
document.loadOnce();
return document;
}