DataAttributesBuilder class - mapview.datasource library - Dart API
DataAttributesBuilder
DataAttributesBuilder class abstract
Data attributes collection builder.
Note: This is a beta release of this feature, so there could be a few bugs and unexpected behavior. Related APIs may change for new releases without a deprecation process.
Constructors
- DataAttributesBuilder()
-
Creates a data attributes builder instance.
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
build(
) → DataAttributes - Builds instance of DataAttributes.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
withBoolean(
String name, bool value) → DataAttributesBuilder - Configures the builder to add the given attribute.
-
withDataAttributeValue(
String name, DataAttributeValue value) → DataAttributesBuilder - Configures the builder to add the given attribute.
-
withDouble(
String name, double value) → DataAttributesBuilder - Configures the builder to add the given attribute.
-
withFloat(
String name, double value) → DataAttributesBuilder - Configures the builder to add the given attribute.
-
withLong(
String name, int value) → DataAttributesBuilder - Configures the builder to add the given attribute.
-
withString(
String name, String value) → DataAttributesBuilder - Configures the builder to add the given attribute.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited