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