saveDocument method

  1. @override
Future<void> saveDocument(
  1. LocalDynamicDocumentModel document
)
override

Save the data in the document so that you can use it after restarting the app.

Implementation

@override
Future<void> saveDocument(LocalDynamicDocumentModel document) async {
  await document.save();
}