instance property

EasyAnimatePlatform get instance

The default instance of EasyAnimatePlatform to use.

Defaults to MethodChannelEasyAnimate.

Implementation

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

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

Implementation

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