isNullable<T> function
Checks if the types T
is nullable (equal T?)
Implementation
bool isNullable<T>() => typeOf<T?>() == typeOf<T>();
Checks if the types T
is nullable (equal T?)
bool isNullable<T>() => typeOf<T?>() == typeOf<T>();