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