toJson method

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

Converts the request parameters to a JSON format.

Implementation

@override
Map<String, dynamic> toJson() {
  return {
    "owner_address": ownerAddress,
    "contract_address": contractAddress,
    "function_selector": functionSelector,
    "parameter": parameter,
    "data": data,
    "call_value": callValue,
    "call_token_value": callTokenValue,
    "token_id": tokenId,
    "visible": visible,
    "feeimit": feeLimit,
    "Permission_id": permissionId
  };
}