dispose method

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

Implementation

@override
Future<void> dispose() async {
  await usersStreamSubscription?.cancel();
  await adminSubscription?.cancel();

  await super.dispose();
}