Request class
Class for request details
- Annotations
-
- @JsonSerializable()
Constructors
-
Request.new({String? id, Origin? origin, List<
String> ? scopes, String? version, Destination? destination, Network? network, AppMetadata? appMetadata, String? sourceAddress, String? senderID, String? signingType, String? payload, String? signedTransaction}) -
Request.fromJson(Map<
String, dynamic> json) -
Constructor for deserialize json Map into Request object.
factory
Properties
- appMetadata ↔ AppMetadata?
-
meta data of connection
getter/setter pair
- destination ↔ Destination?
-
dApp data
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- id ↔ String?
-
beacon request id
getter/setter pair
- network ↔ Network?
-
version
getter/setter pair
- origin ↔ Origin?
-
wallet data
getter/setter pair
- payload ↔ String?
-
payload data sent from dApp
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
scopes
↔ List<
String> ? -
permissions from dApp
getter/setter pair
- senderID ↔ String?
-
sender id
getter/setter pair
- signedTransaction ↔ String?
-
Request.broadcast
extra fieldsgetter/setter pair - signingType ↔ String?
-
types of signing
getter/setter pair
- sourceAddress ↔ String?
-
Request.signPayload
extra fieldsgetter/setter pair - version ↔ String?
-
version
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> - Return the serializable of this object into Map.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited