MediaSessionActionDetails constructor

MediaSessionActionDetails({
  1. required MediaSessionAction action,
  2. double? seekOffset,
  3. double? seekTime,
  4. bool? fastSeek,
})

Implementation

factory MediaSessionActionDetails(
        {required MediaSessionAction action,
        double? seekOffset,
        double? seekTime,
        bool? fastSeek}) =>
    MediaSessionActionDetails._(
        action: action.value,
        seekOffset: seekOffset ?? undefined,
        seekTime: seekTime ?? undefined,
        fastSeek: fastSeek ?? undefined);