instance property

DrawingPagePlatform get instance

The default instance of DrawingPagePlatform to use.

Defaults to MethodChannelDrawingPage.

Implementation

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

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

Implementation

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