Option<T>.some constructor

Option<T>.some(
  1. T? _value
)

Option.some is the constructor for an Option with some value.

Implementation

Option.some(this._value) : option = OptionState.some;