Matcher isAfter(DateTime date)

Validates that a DateTime is after date.

When using this matcher with methods like expectResponse, hasResponse, hasHeaders, hasBody, the compared value will be parsed into a DateTime prior to running this matcher.

Source

Matcher isAfter(DateTime date) {
  return predicate((DateTime d) => d.isAfter(date),
      "after ${date.toIso8601String()}");
}