instance property

The instance of VideoPlayerPlatform to use.

Defaults to a placeholder that does not override any methods, and thus throws UnimplementedError in most cases.

Implementation

static VideoPlayerPlatform get instance => _instance;
void instance=(VideoPlayerPlatform instance)

Platform-specific plugins should override this with their own platform-specific class that extends VideoPlayerPlatform when they register themselves.

Implementation

static set instance(VideoPlayerPlatform instance) {
  PlatformInterface.verify(instance, _token);
  _instance = instance;
}