test/expect/type library

Functions

expectType<T>(dynamic actual, {String? reason, dynamic skip}) → void
Expect that actual is an instance of T.