getCalendarAllShows method
Returns all shows airing during the time period specified.
startDate
- Start the calendar on this date.
numberOfDays
- Number of days to display
✨ Extended Info 🎚 Filters
Implementation
Future<List<MyCalendarShow>> getCalendarAllShows(
{String? startDate,
int? numberOfDays,
bool extendedFull = false,
Filters? filters}) async {
assert(
(startDate == null && numberOfDays == null) ||
(startDate != null && numberOfDays != null),
"Both startdate and numberOfDays need to be given or both be null");
var request = "";
if (startDate != null) {
request = "/$startDate/$numberOfDays";
}
return await _manager._getList<MyCalendarShow>(
"calendars/all/shows$request",
extendedFull: extendedFull,
filters: filters);
}