unwrap method

T unwrap()

Returns the contained Some value, consuming the self value.

Implementation

@pragma("vm:prefer-inline")
T unwrap() {
  return v as T;
}