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