ChainResult<R>.failure constructor

ChainResult<R>.failure()

Creates an unsuccessful ChainResult without the value.

Implementation

ChainResult.failure() : isSuccessful = false;