init method

  1. @override
Future<void> init()
override

Initializes the platform interface and disposes all existing players.

This method is called when the plugin is first initialized and on every full restart.

Implementation

@override
Future<void> init() {
  return _channel.invokeMethod<void>('init');
}