expectType<T> function
Expect that actual
is an instance of T
.
Implementation
void expectType<T>(
dynamic actual, {
String? reason,
dynamic skip, // true or a String
}) {
expect(actual, isA<T>());
}
Expect that actual
is an instance of T
.
void expectType<T>(
dynamic actual, {
String? reason,
dynamic skip, // true or a String
}) {
expect(actual, isA<T>());
}