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,
    "exchange_id": exchangeId,
    "token_id": tokenId,
    "quant": quant,
    "expected": expected,
    "permission_id": permissionId,
    "visible": visible
  };
}