track_history property

List<TrackHistoryData> get track_history

Implementation

List<TrackHistoryData> get track_history {
  try {
    if (rawData["track_history"] is List == false) {
      return [];
    }
    return (rawData["track_history"] as List)
        .map((e) => TrackHistoryData(e as Map))
        .toList()
        .cast<TrackHistoryData>();
  } catch (e) {
    return [];
  }
}