Option<T>.some constructor

const Option<T>.some(
  1. T value
)

Constructs a Some option from the given value.

Implementation

const factory Option.some(T value) = Some;