isAvailable method Null safety

Future<bool> isAvailable()

On Android, returns true if Chrome Custom Tabs is available. On iOS, returns true if SFSafariViewController is available. Otherwise returns false.

Implementation

static Future<bool> isAvailable() async {
  Map<String, dynamic> args = <String, dynamic>{};
  return await _sharedChannel.invokeMethod("isAvailable", args);
}