launchMaps method

Future<bool> launchMaps()

=================== Harita ===================

Implementation

Future<bool> launchMaps() async {
  if (this == null || this!.isEmpty) return false;
  final value = this!.trim();
  final uriString = value.contains(',')
      ? 'https://www.google.com/maps/search/?api=1&query=$value'
      : 'https://www.google.com/maps/search/?api=1&query=${Uri.encodeComponent(value)}';
  return _safeLaunch(uriString, mode: LaunchMode.externalApplication);
}