nullable top-level constant

_Nullable const nullable

Mark the generated property as nullable.

This disables the generation of assert(property != null) on both the constructor and clone methods for the decorated property.

Implementation

const nullable = _Nullable._();