resume method

Future<PlaybackState?> resume({
  1. String? deviceId,
  2. bool retrievePlaybackState = true,
})

Resume current playback on the user's active device if not specifically set with deviceId. retrievePlaybackState is optional. If true, the current PlaybackState will be retrieved. Default's to true.

Implementation

Future<PlaybackState?> resume(
        {String? deviceId, bool retrievePlaybackState = true}) async =>
    startOrResume(
        deviceId: deviceId, retrievePlaybackState: retrievePlaybackState);