errorOrNull property

Message? get errorOrNull

Implementation

Message? get errorOrNull => (isFailure) ? (this as Failure).message : null;