instance property

The default instance of UriToFilePlatform to use.

Defaults to MethodChannelUriToFile.

Implementation

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

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

Implementation

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