hasHour function

Matcher hasHour(
  1. Object? matcher
)

Matches the hour from a HasTime.

Implementation

Matcher hasHour(Object? matcher) =>
    isA<HasTime>().having((d) => d.hour, 'hour', matcher);