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