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