supports method

Future<bool> supports(
  1. LaunchMode mode
)

Returns true if mode is supported by the current platform implementation. Calling launchUrl with an unsupported mode will fall back to a supported mode, so calling this method is only necessary for cases where the caller needs to know which mode will be used.

Implementation

Future<bool> supports(LaunchMode mode) => supportsLaunchMode(mode);