setUrl method
Sets the URL.
Unlike play, the playback will not resume.
The resources will start being fetched or buffered as soon as you call this method.
respectSilence is not implemented on macOS.
Implementation
Future<int> setUrl(
String url, {
bool isLocal: false,
bool respectSilence = false,
}) {
isLocal = isLocalUrl(url);
return _invokeMethod(
'setUrl',
{'url': url, 'isLocal': isLocal, 'respectSilence': respectSilence},
);
}