toJson method
Implementation
Map<String, dynamic> toJson() => {
"contract": contract,
"method": method,
"success": success,
"gasUsed": gasUsed,
"txHash": txHash,
"error": error,
"gasCost": gasCost,
"txFee": txFee,
};