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