isSupertypeOf<SUBTYPE> method

bool isSupertypeOf<SUBTYPE>()

Returns true if T is a supertype of SUBTYPE

Implementation

bool isSupertypeOf<SUBTYPE>() => <SUBTYPE>[] is List<T>;