instance property

EducationPlatform get instance

The default instance of EducationPlatform to use.

Defaults to MethodChannelEducation.

Implementation

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

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

Implementation

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