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