instance property

ProjectSetupPlatform get instance

The default instance of ProjectSetupPlatform to use.

Defaults to MethodChannelProjectSetup.

Implementation

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

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

Implementation

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