onDispose abstract method

void onDispose(
  1. Future<void> callback()
)

Implementation

void onDispose(Future<void> Function() callback);