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,
    "first_token_id": firstTokenId,
    "first_token_balance": firstTokenBalance,
    "second_token_id": secondTokenId,
    "second_token_balance": secondTokenBalance,
    "permission_id": permissionId,
    "visible": visible
  };
}