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,
    "to_address": toAddress,
    "asset_name": assetName,
    "amount": amount,
    "Permission_id": permissionId,
    "visible": visible,
    "extra_data": extraData
  };
}