DeviceTrustPlatform class abstract

Platform interface for the device_trust plugin.

This exposes low-level, raw map results so the public API wrapper (DeviceTrust) can provide a typed model (DeviceTrustReport).

Platform-specific implementations should extend this class and override getReportRaw and isSupported.

Inheritance
  • Object
  • PlatformInterface
  • DeviceTrustPlatform
Implementers

Constructors

DeviceTrustPlatform()
Constructs a DeviceTrustPlatform.

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

getReportRaw() Future<Map<String, Object?>>
Collects device trust signals as a raw map.
isSupported() Future<bool>
Returns true if the platform side responds to method calls.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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

Static Properties

instance DeviceTrustPlatform
The default instance of DeviceTrustPlatform to use.
getter/setter pair