instance property

IcuFlutterPlatform get instance

The default instance of IcuFlutterPlatform to use.

Defaults to MethodChannelIcuFlutter.

Implementation

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

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

Implementation

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