launchExternal static method

void launchExternal(
  1. String? url
)

Implementation

static void launchExternal(String? url) {
  if (url?.isNotEmpty == true) {
    final uri = Uri.tryParse(url ?? '');

    if (uri == null) return;

    launchUrl(uri, mode: .externalApplication);
  }
}