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