instance property

ReactiveSqldbPlatform get instance

The default instance of ReactiveSqldbPlatform to use.

Defaults to MethodChannelReactiveSqldb.

Implementation

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

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

Implementation

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