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