SessionCapabilities class
What a session adapter can honestly provide.
Distinct from SessionPermissions, which is what a caller may invoke. An operation is allowed only when it is both capable and permitted.
Constructors
-
SessionCapabilities({Set<
String> actions = const {}, Set<String> assertionDomains = const {}, Set<String> waits = const {}, bool semanticTree = false, bool runtimeMetadata = false, bool screenshots = false, bool coordinateActions = false, bool apiAssertions = false, bool storageAssertions = false, bool observationRevisions = false, bool snapshotElementTargets = false}) -
const
-
SessionCapabilities.fromJson(Map<
String, dynamic> json) -
factory
Properties
-
actions
→ Set<
String> -
final
- apiAssertions → bool
-
final
-
assertionDomains
→ Set<
String> -
final
- coordinateActions → bool
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
final
- observationRevisions → bool
-
final
- runtimeMetadata → bool
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- screenshots → bool
-
final
- semanticTree → bool
-
final
- snapshotElementTargets → bool
-
final
- storageAssertions → bool
-
final
-
waits
→ Set<
String> -
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- local → SessionCapabilities
-
Local adapter capabilities derived from the runtime operation registry.
final