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