isSubtype<T1, T2> function

bool isSubtype<T1, T2>()

Implementation

bool isSubtype<T1, T2>() => <T1>[] is List<T2>;