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