instance property

The default instance of FlutterCashDrawerPlatform to use.

Defaults to MethodChannelFlutterCashDrawer.

Implementation

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

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

Implementation

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