asSome property

T get asSome

Implementation

T get asSome => mapOrNull(some: (r) => r)!.value;