launchQuery static method
Launches the maps application for this platform.
The maps application will show the result of the provided search query
.
Returns a Future that resolves to true if the maps application
was launched successfully, false otherwise.
Implementation
static Future<bool> launchQuery(String query) {
return launchUrl(createQueryUri(query));
}