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