AgentPlatformFake class final

The observed calls, as (method, args) pairs.

Constructors

AgentPlatformFake({String? home = '/support'})

Properties

calls → List<String>
Every observed call: 'getAgentHome' / 'secureRead:key' / 'secureWrite:key' / 'secureDelete:key'.
final
hashCode → int
The hash code for this object.
no setterinherited
home → String?
The home reported by getAgentHome.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
store → Map<String, String>
The backing secure store.
final

Methods

getAgentHome() → Future<String?>
The host-provided home directory for agent data (Application Support on Apple platforms, filesDir on Android), or null when the host cannot provide one.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
secureDelete(String key) → Future<void>
Deletes key from the host secure store.
secureRead(String key) → Future<String?>
Reads key from the host secure store; null means absent.
secureWrite(String key, String value) → Future<void>
Writes value under key in the host secure store.
toString() → String
A string representation of this object.
inherited

Operators

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