Option<T>.of constructor

Option<T>.of(
  1. T? v
)

Converts from T? to Option<T>.

Implementation

Option.of(T? v) : this._(v);