dispose method

Future<void> dispose()

Disposes the Player instance & releases the resources.

Implementation

Future<void> dispose() async {
  return platform?.dispose();
}