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