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