getCardHolderDetails method
Implementation
@override
Future<Map> getCardHolderDetails(String token, String cardholderId) async {
final baseUrl = await getBaseUrl;
var url = Uri.parse("$baseUrl/api/v1/issuing/cardholders/$cardholderId");
var response = await http.get(
url,
headers: {"Authorization": "Bearer $token"},
);
var data = jsonDecode(response.body);
return data;
}