toJson method

Map<String, dynamic> toJson()

Implementation

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