release method
Releases the resources associated with this media player.
The resources are going to be fetched or buffered again as soon as you call play or setUrl.
Implementation
Future<int> release() async {
final int result = await _invokeMethod('release');
if (result == 1) {
state = AudioPlayerState.STOPPED;
}
return result;
}