close method
Flushes any buffered data and closes this data manager.
After calling close the data manager can no longer be used.
Implementation
@override
Future<void> close() async {
_flushTimer?.cancel();
await _flush();
await super.close();
}