Attribute class
A location attribute.
Attributes provide additional information about a location. The attributes that can be set on a location may vary based on the properties of that location (for example, category). Available attributes are determined by Google and may be added and removed without API changes.
Constructors
-
Attribute({String? name, RepeatedEnumAttributeValue? repeatedEnumValue, List<
UriAttributeValue> ? uriValues, String? valueType, List<Object?> ? values}) - Attribute.fromJson(Map json_)
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- name ↔ String?
-
The resource name for this attribute.
getter/setter pair
- repeatedEnumValue ↔ RepeatedEnumAttributeValue?
-
When the attribute value type is REPEATED_ENUM, this contains the
attribute value, and the other values fields must be empty.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
uriValues
↔ List<
UriAttributeValue> ? -
When the attribute value type is URL, this field contains the value(s) for
this attribute, and the other values fields must be empty.
getter/setter pair
-
values
↔ List<
Object?> ? -
The values for this attribute.
getter/setter pair
- valueType ↔ String?
-
The type of value that this attribute contains.
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited