我的错误是未处理的异常:NoSuchMethodError:类'_InternalLinkedHashMap
static Future<List<RetriveQueueListResponse>> GetQueueList() async {
var response = await http.get('https://queue-keeper.herokuapp.com/api/v1/queue/2');
if (response != null) {
List<RetriveQueueListResponse> list = parseBookedQueueList(response.body);
List users = json.decode(response.toString()) as List;
return users.map((user) => RetriveQueueListResponse.fromJson(user)).toList();
} else {
throw Exception('Failed to load data!');
}
}