MediaSessionPositionState constructor

MediaSessionPositionState({
  1. double? duration,
  2. double? playbackRate,
  3. double? position,
})

Creates the position state.

Implementation

external factory MediaSessionPositionState({
  double? duration,
  double? playbackRate,
  double? position,
});