instance property

Video360Platform get instance

The default instance of Video360Platform to use.

Defaults to MethodChannelVideo360.

Implementation

static Video360Platform get instance => _instance;
set instance (Video360Platform instance)

Platform-specific implementations should set this with their own platform-specific class that extends Video360Platform when they register themselves.

Implementation

static set instance(Video360Platform instance) {
  PlatformInterface.verifyToken(instance, _token);
  _instance = instance;
}