toJson method
Implementation
Map<String, dynamic> toJson() {
return {
'nonce': nonce,
'gasLimit': gasLimit,
'maxPriorityFeePerGas': maxPriorityFeePerGas,
'maxFeePerGas': maxFeePerGas,
'gasPrice': gasPrice,
'to': to,
'value': value.toString(),
'data': data
};
}