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