I am trying to address the null safety on the following function. Nesting if statements doesn't seem to work.
bool doesTourExceedsVenueCapacity(
ToursRecord? tourRecord,
int? venueCapacity,
) {
return tourRecord.passengers > venueCapacity ? true : false;
}