TypedStyleRule class
Represents a typed style rule with properties for color, icon, selected icon, and type.
Constructors
- TypedStyleRule({required String? color, required WoosIcon? icon, required String? type, WoosIcon? selectedIcon})
- Default constructor
-
TypedStyleRule.fromJson(Map<
String, dynamic> json)
Properties
- color ↔ String?
-
color - The color of the style rule.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- icon ↔ WoosIcon?
-
icon - The icon of the style rule.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- selectedIcon ↔ WoosIcon?
-
selectedIcon - The selected icon of the style rule.
getter/setter pair
- type ↔ String?
-
type - The type of the style rule.
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited