queueInsertItemAndPlay method
- GoogleCastQueueItem item, {
- required int beforeItemWithId,
override
Inserts an item into the queue and plays it.
Implementation
@override
Future<void> queueInsertItemAndPlay(
GoogleCastQueueItem item, {
required int beforeItemWithId,
}) async {
await _channel.invokeMethod('queueInsertItemAndPlay', {
'item': item.toMap(),
'beforeItemWithId': beforeItemWithId,
});
}