dispose method
This method has been superseded by JustAudioPlatform.disposePlayer. For backward compatibility, this method will still be called as a fallback if JustAudioPlatform.disposePlayer is not implemented.
Implementation
@override
Future<DisposeResponse> dispose(DisposeRequest request) async {
return DisposeResponse.fromMap((await _channel
.invokeMethod<Map<dynamic, dynamic>>('dispose', request.toMap()))!);
}