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