instance property

SqlExternalDbPlatform get instance

The default instance of SqlExternalDbPlatform to use.

Defaults to MethodChannelSqlExternalDb.

Implementation

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

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

Implementation

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