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