isNullable property

bool isNullable
inherited

Checks if T is nullable.

Void, dynamic and Null will always return true.

Implementation

bool get isNullable => isSupertypeOf<T?>();