instance property

The active platform implementation.

Implementation

static FlutterMobileDiagnosticsPlatform get instance => _instance;
set instance (FlutterMobileDiagnosticsPlatform instance)

Sets the platform implementation used by MobileDiagnostics.

Implementation

static set instance(FlutterMobileDiagnosticsPlatform instance) {
  PlatformInterface.verifyToken(instance, _token);
  _instance = instance;
}