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