close method

  1. @override
Future<void> close()
override

Flush any buffered data and close this data manager. After calling close the data manager can no longer be used.

Implementation

@override
Future<void> close() async {
  await database?.close();
  await super.close();
}