instance property

FlutterOhosAdsPlatform get instance

The default instance of FlutterOhosAdsPlatform to use.

Defaults to MethodChannelFlutterOhosAds.

Implementation

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

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

Implementation

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