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