hasUnixSeconds function

Matcher hasUnixSeconds(
  1. Object matcher
)

Matches the Unix seconds of a HasInstant.

Implementation

Matcher hasUnixSeconds(Object matcher) => isA<HasInstant>().having(
    (t) => t.toInstant().unixTimestamp.inSeconds, 'unix seconds', matcher);