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