CreatorElement<T> class
Creator's element.
- Inheritance
-
- Object
- ElementBase<
T> - CreatorElement
Constructors
-
CreatorElement(dynamic ref, Creator<
T> creator)
Properties
- created ↔ bool
-
Whether the creator has been created at least once.
getter/setter pairinherited
-
creator
→ CreatorBase<
T> -
finalinherited
- error ↔ Object?
-
getter/setter pairinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- prevState ↔ T?
-
getter/setter pairinherited
- ref → Ref
-
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- stackTrace ↔ StackTrace?
-
getter/setter pairinherited
- state ↔ T
-
getter/setter pairinherited
Methods
-
getState(
) → T -
Get error-aware state.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
recreate(
{CreatorBase? reason, bool autoDispose = false}) → void -
Allow the creator to update its state. Called when:
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited