packageName property

String get packageName

Implementation

String get packageName {
  switch (this) {
    case NavApp.waze:
      return Platform.isAndroid ? 'com.waze' : 'waze://';
    case NavApp.gmaps:
      return Platform.isAndroid
          ? 'com.google.android.apps.maps'
          : 'comgooglemaps://';
    case NavApp.appleMaps:
      return 'maps://';
  }
}