OptionalAttribute<T extends Object> class
Constructors
-
OptionalAttribute({required String key, required AttributeProvider provider, AttributeTransform<
T> ? transform})
Properties
-
attributeType
→ DType<
T> -
final
- exists → bool
-
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- key → String
-
final
- provider → AttributeProvider
-
final
- rawValue ↔ Object?
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
transform
→ AttributeTransform<
T> ? -
final
- value ↔ T?
-
getter/setter pair
Methods
-
fromRawAttribute(
Object attr) → T -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toRawAtttribute(
T value) → Object -
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited