getWallets method

Future<Map<String, dynamic>?> getWallets()

Get a list of user wallets

Implementation

Future<Map<String, dynamic>?> getWallets() async {
  var url = Uri.https(basePath, '/users/wallets/list');

  var response = await client.post(url, headers: headers);

  return jsonDecode(response.body);
}