instance property
UriToFilePlatform
instance
The default instance of UriToFilePlatform to use.
Defaults to MethodChannelUriToFile.
Implementation
static UriToFilePlatform get instance => _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;
}