onLaunchResult property
A callback function that is called after a launch attempt is completed.
Provides the LaunchType, the URI that was attempted, and a boolean indicating whether the launch was successful.
Implementation
final void Function(LaunchType type, Uri uri, bool success)? onLaunchResult;