hasNanosecond function

Matcher hasNanosecond(
  1. Object? matcher
)

Matches the nanosecond from a HasTime.

Implementation

Matcher hasNanosecond(Object? matcher) =>
    isA<HasTime>().having((t) => t.nanosecond, 'nanosecond', matcher);