instance property

SimpleTablePlatform get instance

The default instance of SimpleTablePlatform to use.

Defaults to MethodChannelSimpleTable.

Implementation

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

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

Implementation

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