instance property

UseStateUtilsPlatform get instance

The default instance of UseStateUtilsPlatform to use.

Defaults to MethodChannelUseStateUtils.

Implementation

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

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

Implementation

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