DataAttributes class abstract

Data attributes collection.

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.

Implemented types

Constructors

DataAttributes()

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

getAsString(String name) → String?
Gets the value of an attribute as a string or null if it is not contained.
inherited
getAttributeNames() → List<String>
Returns a list of attribute names.
inherited
getBoolean(String name) → bool?
Gets the value of a boolean attribute or null if it is not contained or the type doesn't match.
inherited
getColor(String name) → Color?
Gets the value of a color attribute or null if it is not contained or the type doesn't match.
inherited
getDouble(String name) → double?
Gets the value of a double precision floating decimal attribute or null if it is not contained or the type doesn't match.
inherited
getFloat(String name) → double?
Gets the value of a single precision floating decimal attribute or null if it is not contained or the type doesn't match.
inherited
getInt64(String name) → int?
Gets the value of a 64-bits integer attribute or null if it is not contained or the type doesn't match.
inherited
getString(String name) → String?
Gets the value of a string attribute or null if it is not contained or the type doesn't match.
inherited
getValue(String name) → DataAttributeValue?
Gets the DataAttributeValue or null if it is not contained.
inherited
getValueType(String name) → DataAttributeValueType?
Returns the value type of an attribute or null if it is not contained.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited