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