extractReferer method
Implementation
String extractReferer(String responseData) {
final Map<String, dynamic> parsedData = jsonDecode(responseData);
final List<dynamic> referers = parsedData['configs']['referrers'];
if (referers.isNotEmpty) {
return referers[0];
}
return '';
}