updateOrNull property

Update? get updateOrNull

Returns Update if this data is Update, otherwise null.

Implementation

Update? get updateOrNull => isUpdate ? update : null;