onSourceExit method

Future<void> onSourceExit(
  1. {required AppModel appModel,
  2. required BuildContext context,
  3. required WidgetRef ref}
)

Executed when this media source is closed. Perform this step to clean up resources or refresh media history.

Implementation

Future<void> onSourceExit({
  required AppModel appModel,
  required BuildContext context,
  required WidgetRef ref,
}) async {}