instance property

MssqlConnectPlatform get instance

The default instance of MssqlConnectPlatform to use.

Defaults to MethodChannelMssqlConnect.

Implementation

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

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

Implementation

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