onDispose method

  1. @protected
Future<Null> onDispose()

Callback to allow arbitrary cleanup on dispose.

Implementation

@protected
Future<Null> onDispose() async {
  return null;
}