dispose method Null safety

Future<DisposeResponse> dispose(
  1. DisposeRequest request
)

This method has been superceded by JustAudioPlatform.disposePlayer. For backward compatibility, this method will still be called as a fallback if JustAudioPlatform.disposePlayer is not implemented.

Implementation

Future<DisposeResponse> dispose(DisposeRequest request) {
  throw UnimplementedError("dispose() has not been implemented.");
}