PlayerDataMessage class

A data update communicated from the platform implementation to the Flutter plugin. Each field should trigger a state update in the frontend plugin if and only if it is not null. Normally, the platform implementation will not need to broadcast new state changes for this state as such state changes will be initiated from the frontend.

Constructors

PlayerDataMessage({bool? playing, double? volume, double? speed, double? pitch, LoopModeMessage? loopMode, ShuffleModeMessage? shuffleMode})

Properties

hashCode int
The hash code for this object.
no setterinherited
loopMode LoopModeMessage?
final
pitch double?
final
playing bool?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
shuffleMode ShuffleModeMessage?
final
speed double?
final
volume double?
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

fromMap(Map map) PlayerDataMessage