onDestroy abstract method

void onDestroy(
  1. Future callback()
)

Implementation

void onDestroy(Future Function() callback);