instance property
S2OfferwallFlutterPlatform
get
instance
The default instance of S2OfferwallFlutterPlatform to use.
Defaults to MethodChannelS2OfferwallFlutter.
Implementation
static S2OfferwallFlutterPlatform get instance => _instance;
set
instance
(S2OfferwallFlutterPlatform instance)
Platform-specific implementations should set this with their own platform-specific class that extends S2OfferwallFlutterPlatform when they register themselves.
Implementation
static set instance(S2OfferwallFlutterPlatform instance) {
PlatformInterface.verifyToken(instance, _token);
_instance = instance;
}