dispose method
Callback when the object is being disposed. DO NOT call this function directly. If you want to mark the object as disposed, use the ScopedDisposableObjectMixin.markDisposed instead.
See also:
- ScopedDisposableObjectMixin, mixin for DisposableObject
Implementation
@override
Future<void> dispose() async {
await clear();
}