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