hasInstant function
Matches the instant from a HasInstant.
Implementation
Matcher hasInstant(Object? matcher) =>
isA<HasInstant>().having((t) => t.toInstant(), 'instant', matcher);
Matches the instant from a HasInstant.
Matcher hasInstant(Object? matcher) =>
isA<HasInstant>().having((t) => t.toInstant(), 'instant', matcher);