Show Google place types in selection cards
All checks were successful
Build and deploy Flutter Web / build (push) Successful in 2m11s
All checks were successful
Build and deploy Flutter Web / build (push) Successful in 2m11s
This commit is contained in:
@@ -90,6 +90,8 @@ class PlaceRecommendation {
|
||||
required this.photoUrls,
|
||||
required this.coordinate,
|
||||
required this.traits,
|
||||
required this.googlePrimaryType,
|
||||
required this.googleTypes,
|
||||
});
|
||||
|
||||
final String id;
|
||||
@@ -99,6 +101,8 @@ class PlaceRecommendation {
|
||||
final List<String> photoUrls;
|
||||
final LatLng coordinate;
|
||||
final Set<PlaceTrait> traits;
|
||||
final String? googlePrimaryType;
|
||||
final List<String> googleTypes;
|
||||
|
||||
String get coverPhotoUrl => photoUrls.first;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user