createOrNull property

Create? get createOrNull

Returns Create if this data is Create, otherwise null.

Implementation

Create? get createOrNull => isCreate ? create : null;