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