Result<T>.valid constructor

Result<T>.valid(
  1. T value
)

Implementation

Result.valid(this.value)
    : isValid = true,
      expectations = const <Expectation>[];