nullable method

RuntimeType<T?> nullable()

Return a nullable version of this RuntimeType.

If this type is already nullable, the returned type will be equal to this type.

Implementation

RuntimeType<T?> nullable() => RuntimeType<T?>.allowingDynamic();