instance property

The default instance of FlutterRustyUtilsPlatform to use.

Defaults to MethodChannelFlutterRustyUtils.

Implementation

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

Platform-specific implementations should set this with their own platform-specific class that extends FlutterRustyUtilsPlatform when they register themselves.

Implementation

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