SecureMonitorService class

secure_monitor Service - Enterprise-grade security protection

Provides comprehensive security features similar to secure_monitor:

  • Real-time threat detection
  • Behavior monitoring
  • Automated response
  • Data protection
  • Network security

Constructors

SecureMonitorService()
factory

Properties

currentStatus ProtectionStatus
Get current protection status
no setter
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
securityMetrics Map<String, dynamic>
Get security metrics
no setter
statusStream Stream<ProtectionStatus>
no setter
threatStream Stream<SecurityThreat>
no setter

Methods

clearAllSecureData() Future<void>
Clear all secure data
decryptSensitiveData(String encryptedData) Future<String>
Decrypt sensitive data
dispose() Future<void>
Dispose of secure_monitor service
encryptSensitiveData(String data) Future<String>
Encrypt sensitive data
generateSecureRandom({int length = 32}) String
Generate secure random data
getBehaviorData() BehaviorData
Get behavior data
getDeviceSecurityStatus() Future<DeviceSecurityStatus>
Get device security status
initialize(SecurityConfig config) Future<void>
Initialize secure_monitor with configuration
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
recordApiHit() → void
Record behavior events
recordAppLaunch() → void
recordScreenTouch() → void
sanitizeInput(String input) String
Sanitize input data
secureApiCall(String url, Map<String, dynamic> data, {Map<String, String>? headers, String method = 'POST'}) Future<Map<String, dynamic>>
Secure API call with secure_monitor protection
secureDelete(String key) Future<void>
Delete secure data
secureRetrieve(String key) Future<String?>
Secure data retrieval
secureStore(String key, String value, {Duration? expiresIn}) Future<void>
Secure data storage
toString() String
A string representation of this object.
inherited
updateScreenshotBlocking(bool enabled) Future<void>
Update screenshot blocking configuration

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Properties

instance SecureMonitorService
no setter