instance property

The default instance of VideoCacheServerPlatform to use.

Defaults to MethodChannelVideoCacheServer.

Implementation

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

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

Implementation

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