JsonWidgetStateProperty<T extends Object> class
Helper class that allows to expose values of WidgetPropertyResolver in
form of type-safe Map<WidgetState?, T> instead of Instance of '_WidgetStatePropertyWith'
via toString() call.
- Implemented types
- Annotations
Constructors
-
JsonWidgetStateProperty.new(Map<
WidgetState?, T> map) -
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
map
→ Map<
WidgetState?, T> -
Map containing
WidgetState?
and it's correspondingT
values.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
-
resolve(
Set< WidgetState> states) → T? -
Copies the behavior of the ThemeDecoder's
decodeWidgetStateProperty*
through WidgetState.values.override -
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited