pausePlayMusic method

Future<void> pausePlayMusic(
  1. int id
)

Pause background music

Parameters:

id Music track ID

Platform not supported:

  • web

Implementation

Future<void> pausePlayMusic(int id) {
  return _channel.invokeMethod('pausePlayMusic', {"id": id});
}