DataAttributesBase class abstract

Interface for a collection of data attributes.

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.

Implementers

Constructors

DataAttributesBase(List<String> getAttributeNamesLambda(), DataAttributeValueType? getValueTypeLambda(String), String? getAsStringLambda(String), String? getStringLambda(String), int? getInt64Lambda(String), double? getFloatLambda(String), double? getDoubleLambda(String), bool? getBooleanLambda(String), Color? getColorLambda(String), DataAttributeValue? getValueLambda(String))
Interface for a collection of data attributes.
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

getAsString(String name) → String?
Gets the value of an attribute as a string or null if it is not contained.
getAttributeNames() → List<String>
Returns a list of attribute names.
getBoolean(String name) → bool?
Gets the value of a boolean attribute or null if it is not contained or the type doesn't match.
getColor(String name) → Color?
Gets the value of a color attribute or null if it is not contained or the type doesn't match.
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.
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.
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.
getString(String name) → String?
Gets the value of a string attribute or null if it is not contained or the type doesn't match.
getValue(String name) → DataAttributeValue?
Gets the DataAttributeValue or null if it is not contained.
getValueType(String name) → DataAttributeValueType?
Returns the value type of an attribute or null if it is not contained.
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