deleteResultOrNull property

DeleteResult? get deleteResultOrNull

Returns DeleteResult if this data is DeleteResult, otherwise null.

Implementation

DeleteResult? get deleteResultOrNull => isDeleteResult ? deleteResult : null;