instance property
DeviceSecurityGuardPlatform
get
instance
Instance DeviceSecurityGuardPlatform đang được sử dụng.
Mặc định là MethodChannelDeviceSecurityGuard.
Implementation
static DeviceSecurityGuardPlatform get instance => _instance;
set
instance
(DeviceSecurityGuardPlatform instance)
Cho phép implementation của nền tảng đăng ký instance riêng.
Implementation
static set instance(DeviceSecurityGuardPlatform instance) {
PlatformInterface.verifyToken(instance, _token);
_instance = instance;
}