Validated<T extends Object?>.valid constructor
const
Validated<T extends Object?>.valid (
- T value
Creates a Valid result with the given value.
Implementation
const factory Validated.valid(T value) = Valid._;