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