Relay class

A class representing a relay object used in the relay process.

Annotations
  • @freezed

Constructors

Relay({@Default('fuse') String network, @Default(0) int gasPrice, @Default(700000) int gasLimit, @Default({}) Map<String, dynamic>? transactionBody, required String walletAddress, required String walletModuleAddress, required String data, required String nonce, required String methodName, required String signature, required String walletModule, String? externalId})
Constructs a new Relay instance.
factory
Relay.fromJson(Map<String, dynamic> json)
Creates a Relay instance from a JSON object.
factory

Properties

copyWith → $RelayCopyWith<Relay>
no setterinherited
data String
no setterinherited
externalId String?
no setterinherited
gasLimit int
no setterinherited
gasPrice int
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
methodName String
no setterinherited
network String
no setterinherited
nonce String
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
signature String
no setterinherited
transactionBody Map<String, dynamic>?
no setterinherited
walletAddress String
no setterinherited
walletModule String
no setterinherited
walletModuleAddress String
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
inherited
toString() String
A string representation of this object.
inherited

Operators

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