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