AuthorAttribution class
Information about the author of the UGC data. Used in Photo, and Review.
Documentation: https://developers.google.com/maps/documentation/places/web-service/reference/rest/v1/places#authorattribution
- Inheritance
-
- Object
- Jsonable<
AuthorAttribution> - AuthorAttribution
- Available extensions
- Annotations
-
- @JsonSerializable()
- @CopyWith()
Constructors
- AuthorAttribution.new({String? displayName, String? uri, String? photoUri})
-
AuthorAttribution.fromJson(Map<
String, dynamic> json) -
factory
Properties
- copyWith → _$AuthorAttributionCWProxy
-
Available on AuthorAttribution, provided by the $AuthorAttributionCopyWith extension
Returns a callable class that can be used as follows:instanceOfAuthorAttribution.copyWith(...)
.no setter - displayName → String?
-
Name of the author of the Photo or Review.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- photoUri → String?
-
Profile photo URI of the author of the Photo or Review.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- uri → String?
-
URI of the author of the Photo or Review.
final
Methods
-
fromJsonList(
List? jsonList) → List< AuthorAttribution> ? -
inherited
-
fromJsonMap(
Map< String, dynamic> ? json) → AuthorAttribution? -
override
-
fromJsonString(
String? json) → AuthorAttribution? -
inherited
-
fromJsonStringList(
String? jsonStringList) → List< AuthorAttribution> ? -
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