toJson method
Implementation
Map<String, dynamic> toJson() {
return {
"To": to,
"From": from,
"Value": value,
"Method": method,
"Params": params,
"Nonce": nonce,
"GasLimit": gasLimit,
"GasFeeCap": gasFeeCap,
"GasPremium": gasPremium,
};
}