alertsGetHistory function
Implementation
Future<List<Alert>?> alertsGetHistory() async {
List? json = await _clientPost(PlurkEndpoints.alertsGetHistory());
if (json == null) {
return null;
} else {
List<Alert> returnList = json.map((e) => Alert.fromJson(e)).toList();
return returnList;
}
}