instance property

The default instance of FlutterRealmSyncPlatform to use.

Defaults to MethodChannelFlutterRealmSync.

Implementation

static FlutterRealmSyncPlatform get instance => _instance;
set instance (FlutterRealmSyncPlatform instance)

Platform-specific implementations should set this with their own platform-specific class that extends FlutterRealmSyncPlatform when they register themselves.

Implementation

static set instance(FlutterRealmSyncPlatform instance) {
  PlatformInterface.verifyToken(instance, _token);
  _instance = instance;
}