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