isInstanceOf<T> function Null safety

TypeMatcher<T> isInstanceOf<T>()

A matcher that compares the type of the actual value to the type argument T.

This is identical to isA and is included for backwards compatibility.

Implementation

TypeMatcher<T> isInstanceOf<T>() => isA<T>();