getBasic static method
Implementation
static Future<List<DownloadServiceItem>?> getBasic() async {
List? res = await _getJson<List>(_basicKey);
if (res == null) {
return null;
}
List<Map<String, dynamic>> decode =
res.cast<Map<String, dynamic>>().toList();
var basicList = decode.map((e) => DownloadServiceItem.fromJson(e)).toList();
return basicList;
}