Result<S, E>.Ok constructor
Result<S, E>.Ok (
- S result
Implementation
factory Result.Ok(S result) {
return Result._(
true,
success: result,
error: null
);
}