queueInsertItems method
- List<
GoogleCastQueueItem> items, { - int? beforeItemWithId,
override
Inserts items into the queue.
Implementation
@override
Future<void> queueInsertItems(
List<GoogleCastQueueItem> items, {
int? beforeItemWithId,
}) async {
await _channel.invokeMethod('queueInsertItems', {
'items': items.map((item) => item.toMap()).toList(),
'beforeItemWithId': beforeItemWithId,
});
}