hasMonth function

Matcher hasMonth(
  1. Object? matcher
)

Matches the month from a HasDate.

Implementation

Matcher hasMonth(Object? matcher) =>
    isA<HasDate>().having((d) => d.month, 'month', matcher);