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