SafeProposal class

Constructors

SafeProposal({String? r, String? s, String? safeAddress, String? safeTxHash, String? walletId})
Returns a new SafeProposal instance.

Properties

hashCode → int
The hash code for this object.
no setteroverride
r ↔ String?
R is the r component of the MPC threshold signature over the Safe-tx hash.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
s ↔ String?
S is the s component of that signature.
getter/setter pair
safeAddress ↔ String?
SafeAddress is the Safe contract this transaction is for.
getter/setter pair
safeTxHash ↔ String?
SafeTxHash is the EIP-712 Safe transaction hash, bound to the Safe contract and the chain id — the value the owner approval signs.
getter/setter pair
walletId ↔ String?
WalletID is the wallet whose Safe this is.
getter/setter pair

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.
override

Operators

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

Static Methods

fromJson(dynamic value) → SafeProposal?
Returns a new SafeProposal instance and imports its values from value if it's a Map, null otherwise.
listFromJson(dynamic json, {bool growable = false}) → List<SafeProposal>
mapFromJson(dynamic json) → Map<String, SafeProposal>
mapListFromJson(dynamic json, {bool growable = false}) → Map<String, List<SafeProposal>>

Constants

requiredKeys → const Set<String>
The list of required keys that must be present in a JSON.