getWalletList method

Future<Response> getWalletList(
  1. String deviceUUID,
  2. String userToken
)

Implementation

Future<Response> getWalletList(String deviceUUID, String userToken) async {
  var url = "$defaultUrl/v2/sdk/easy/wallet.json";

  var headers =  {
  'Accept': 'application/json',
  'Bootpay-Device-UUID': deviceUUID,
  'Bootpay-User-Token': userToken,
  };

  print('url: $url, headers: $headers');

  return get(
      url,
      contentType: 'application/json',
      headers: headers
  );
}