toJson method

  1. @override
Map<String, dynamic> toJson()
override

Converts the request parameters to a JSON format.

Implementation

@override
Map<String, dynamic> toJson() {
  return {
    "abi": abi,
    "bytecode": byteCode,
    "feeimit": feeLimit,
    "parameter": parameter,
    "origin_energy_limit": originEnergyLimit,
    "owner_address": ownerAddress,
    "name": name,
    "call_value": callValue,
    "consume_user_resource_percent": consumeUserResourcePercent,
    "permission_id": permissionId,
    "visible": visible
  };
}