toJson method
Converts the request parameters to a JSON format.
Implementation
@override
Map<String, dynamic> toJson() {
return {
"owner_address": ownerAddress,
"account_address": accountAddress,
"permission_id": permissionId,
"type": type,
"visible": visible
};
}