typeOf<X> function
Reifies X so nullable targets can be compared, since T == String? is not
valid syntax.
Implementation
Type typeOf<X>() => X;
Reifies X so nullable targets can be compared, since T == String? is not
valid syntax.
Type typeOf<X>() => X;