Validated<T extends Object?>.valid constructor

const Validated<T extends Object?>.valid(
  1. T value
)

Creates a Valid result with the given value.

Implementation

const factory Validated.valid(T value) = Valid._;