Some<T> constructor

const Some<T>(
  1. T value
)

Creates a Some variant with the given value.

Implementation

const Some(this.value);