ContextualContent class
Experimental: See https://developers.google.com/maps/documentation/places/web-service/experimental/places-generative for more details.
Content that is contextual to the place query.
Documentation: https://developers.google.com/maps/documentation/places/web-service/reference/rest/v1/places/searchText#contextualcontent
- Inheritance
-
- Object
- Jsonable<
ContextualContent> - ContextualContent
- Available extensions
- Annotations
-
- @JsonSerializable()
- @CopyWith()
Constructors
-
ContextualContent.new({List<
Review> ? reviews, List<Photo> ? photos, List<Justification> ? justifications}) -
ContextualContent.fromJson(Map<
String, dynamic> json) -
factory
Properties
- copyWith → _$ContextualContentCWProxy
-
Available on ContextualContent, provided by the $ContextualContentCopyWith extension
Returns a callable class that can be used as follows:instanceOfContextualContent.copyWith(...)
.no setter - hashCode → int
-
The hash code for this object.
no setterinherited
-
justifications
→ List<
Justification> ? -
Experimental: See https://developers.google.com/maps/documentation/places/web-service/experimental/places-generative for more details.
final
-
photos
→ List<
Photo> ? -
Information (including references) about photos of this place, contexual to the place query.
final
-
reviews
→ List<
Review> ? -
List of reviews about this place, contexual to the place query.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
fromJsonList(
List? jsonList) → List< ContextualContent> ? -
inherited
-
fromJsonMap(
Map< String, dynamic> ? json) → ContextualContent? -
override
-
fromJsonString(
String? json) → ContextualContent? -
inherited
-
fromJsonStringList(
String? jsonStringList) → List< ContextualContent> ? -
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toFieldsMask(
{String? parentKey}) → List< String> -
inherited
-
toJson(
) → Map< String, dynamic> -
override
-
toJsonMap(
) → Map< String, dynamic> -
inherited
-
toJsonString(
) → String -
inherited
-
toString(
) → String -
This is just to suggest children to implement a named constructor to
support creating objects fromJson(...) and fromJsonString(...) as easy as
T.build().fromJson(...) or T.build().fromJsonString(...)
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited