onClose method

void onClose()

A life-cycle method for when the ProviderSubscription obtained from CustomProviderListenable is closed.

This callback will only be called once regardless of how many times ProviderSubscription.close is called.

Implementation

void onClose() {}