dispose method

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

Clean up the route when it is no longer active.

This is called when navigating away from the route. Use this to clean up any resources initialized in init.

Implementation

@override
Future<void> dispose() => Future.value();