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