PlayerState enum Null safety
The possible states of the Player.
Constants
- isPaused → const PlayerState
-
Player is paused
const PlayerState(2)
- isPlaying → const PlayerState
-
Player is playing
const PlayerState(1)
- isStopped → const PlayerState
-
Player is stopped
const PlayerState(0)
-
values
→ const List<
PlayerState> -
A constant List of the values in this enum, in order of their declaration.
const List<
PlayerState>
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
-
toString(
) → String -
A string representation of this object. [...]
override
Operators
-
operator ==(
Object other) → bool -
The equality operator. [...]
inherited