asOption method

Option<T> asOption()

Returns this as a base Option type.

Implementation

@pragma('vm:prefer-inline')
Option<T> asOption() => this;