PlayerRestrictions class
- Annotations
-
- @JsonSerializable()
Constructors
- PlayerRestrictions({required bool canSkipNext, required bool canSkipPrevious, required bool canRepeatTrack, required bool canRepeatContext, required bool canToggleShuffle, required bool canSeek})
-
PlayerRestrictions.fromJson(Map<
String, dynamic> json) -
factory
Properties
- canRepeatContext → bool
-
final
- canRepeatTrack → bool
-
final
- canSeek → bool
-
final
- canSkipNext → bool
-
final
- canSkipPrevious → bool
-
final
- canToggleShuffle → bool
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- 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
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited