Result<R, E>.err constructor

const Result<R, E>.err(
  1. E? errValue
)

Implementation

const Result.err(this.errValue)
    : okValue = null,
      _isOk = false;