assetPath property
String
get
assetPath
Returns the asset path for the preset style JSON
Implementation
String get assetPath => switch (this) {
GoogleMapStylePreset.standard =>
'packages/generic_map/assets/map_styles/standard.json',
GoogleMapStylePreset.dark =>
'packages/generic_map/assets/map_styles/dark.json',
GoogleMapStylePreset.silver =>
'packages/generic_map/assets/map_styles/silver.json',
GoogleMapStylePreset.retro =>
'packages/generic_map/assets/map_styles/retro.json',
GoogleMapStylePreset.night =>
'packages/generic_map/assets/map_styles/night.json',
GoogleMapStylePreset.aubergine =>
'packages/generic_map/assets/map_styles/aubergine.json',
};