Result<R, E>.ok constructor

const Result<R, E>.ok(
  1. R? okValue
)

Implementation

const Result.ok(this.okValue)
    : errValue = null,
      _isOk = true;