toJson method
Converts the request parameters to a JSON format.
Implementation
@override
Map<String, dynamic> toJson() {
return {
"owner_address": ownerAddress,
"receiver_address": receiverAddress,
"balance": balance,
"resource": resource,
"lock": lock,
"lock_period": lockPeriod,
"visible": visible,
"Permission_id": permissionId
};
}