responseMapToList<T extends HulkModel> method
Implementation
List<T> responseMapToList<T extends HulkModel>(dynamic T, Response response) {
return response.data.map((element) => T.fromJSON(element));
}
List<T> responseMapToList<T extends HulkModel>(dynamic T, Response response) {
return response.data.map((element) => T.fromJSON(element));
}