toJson method
Implementation
Map<String, dynamic> toJson() {
return {
"version": version,
"sender": sender,
"expiration": expiration?.toJson(),
"gasConfig": gasConfig.toJson(),
"inputs": inputs,
"transactions": transactions
};
}