onHidden method

void onHidden()

Called when the app is hidden (e.g., when the device is locked).

Implementation

void onHidden() {}