PropDescriptor class
Provides a representation of a single prop declared within a UiProps subclass or props mixin.
Related: StateDescriptor
Constructors
Properties
- errorMessage → String
-
The message included in the thrown PropError if the
propis not set.final - hashCode → int
-
The hash code for this object.
no setterinherited
- isLate → bool
-
Whether the prop has the
latekeyword.final - isNullable → bool
-
Whether setting the
proptonullis valid.final - isRequired → bool
-
Whether the
propis required to be set.final - key → String
-
The string key associated with the
prop.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
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