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