instance property
AndroidDocumentFetcherPlatform
get
instance
The default instance of AndroidDocumentFetcherPlatform to use.
Defaults to MethodChannelAndroidDocumentFetcher.
Implementation
static AndroidDocumentFetcherPlatform get instance => _instance;
set
instance
(AndroidDocumentFetcherPlatform instance)
Platform-specific implementations should set this with their own platform-specific class that extends AndroidDocumentFetcherPlatform when they register themselves.
Implementation
static set instance(AndroidDocumentFetcherPlatform instance) {
PlatformInterface.verifyToken(instance, _token);
_instance = instance;
}