DataAttributesBuilder class abstract

Data attributes collection builder.

Note: This is a beta release of this feature and may contain bugs or exhibit unexpected behaviour. Related APIs are subject to change 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.
withColor(String name, Color 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