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