isSomeWith function

Matcher isSomeWith(
  1. Object? value
)

A matcher that verifies an Option is Some containing value.

expect(Some(42), isSomeWith(42));

Implementation

Matcher isSomeWith(Object? value) => _IsSomeWith(value);