instance property
SqlConnectionPlatform
get
instance
The default instance of SqlConnectionPlatform to use.
Defaults to MethodChannelSqlConnection.
Implementation
static SqlConnectionPlatform get instance => _instance;
set
instance
(SqlConnectionPlatform instance)
Platform-specific implementations should set this with their own platform-specific class that extends SqlConnectionPlatform when they register themselves.
Implementation
static set instance(SqlConnectionPlatform instance) {
PlatformInterface.verifyToken(instance, _token);
_instance = instance;
}