instance property

The default instance of MsSQLConnectionPlatform to use.

Defaults to MethodChannelMsSQLConnection.

Implementation

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

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

Implementation

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