openUrlInDefaultBrowser method

void openUrlInDefaultBrowser(
  1. String url
)

Opens the given URL in the system's default browser. This method is used internally but has been exposed publicly as it is useful in common use-cases such as handling Poi description interactions.

Implementation

void openUrlInDefaultBrowser(String url) {
  methodChannel.invokeMethod('openUrlInDefaultBrowser', {"url": url});
}