UserActionState class
Represents the state of a user action in a cast session.
Constructors
-
UserActionState.new({Map<
String, dynamic> ? customData, UserAction? userAction}) - Creates a new UserActionState instance.
- UserActionState.fromJson(String source)
-
Creates a UserActionState from a JSON string.
factory
-
UserActionState.fromMap(Map<
String, dynamic> map) -
Creates a UserActionState from a map.
factory
Properties
-
customData
→ Map<
String, dynamic> ? -
User actions custom data.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- userAction → UserAction?
-
The user action associated with this state.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → String - Converts the UserActionState to a JSON string.
-
toMap(
) → Map< String, dynamic> - Converts the UserActionState to a map.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited