queueInsertItemAndPlay method

  1. @override
Future<GoogleCastRequest> queueInsertItemAndPlay(
  1. GoogleCastQueueItem item, {
  2. required int beforeItemWithId,
})
override

Implementation

@override
Future<GoogleCastRequest> queueInsertItemAndPlay(GoogleCastQueueItem item,
    {required int beforeItemWithId}) async {
  return await _channel.invokeMethod('queueInsertItemAndPlay', {
    'item': item.toMap(),
    'beforeItemWithId': beforeItemWithId,
  });
}