Scenario class abstract

Scenario

The interface of a mobile wallet adapter scenario.

A scenario creates an encrypted session in which the dApp can invoke wallet methods.

Implementers

Constructors

Scenario({required Duration? timeLimit})
Creates a mobile wallet adapter scenario.
const

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
timeLimit Duration?
The default timeout duration applied to a connect call.
final

Methods

connect({Duration? timeLimit, Uri? walletUriBase}) Future<Session>
Establishes an encrypted session between the dApp and wallet endpoints.
dispose() Future<void>
Releases all acquired resources.
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