Option<T>.from constructor

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

Converts from T? to Option<T>.

Implementation

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