DataAttributesBase class abstract

Interface for a collection of data attributes.

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.

Implementers

Constructors

DataAttributesBase(List<String> getAttributeNamesLambda(), DataAttributeValueValueType? getValueTypeLambda(String), String? getAsStringLambda(String), String? getStringLambda(String), int? getInt64Lambda(String), double? getFloatLambda(String), double? getDoubleLambda(String), bool? getBooleanLambda(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.
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) DataAttributeValueValueType?
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