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,
    "consume_user_resource_percent": consumeUserResourcePercent,
    "Permission_id": permissionId,
    "visible": visible
  };
}