discontinuedPackage dev_toolkit has been discontinued.

orNull property

int? get orNull

Implementation

int? get orNull => this == 0 ? null : this;