Validation<T>.valid constructor

const Validation<T>.valid(
  1. T value
)

Implementation

const Validation.valid(T value)
    : _value = value,
      _failures = const <Fail>[];