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