Skip to content

isSome

Matcher isSome([Object? matcher])

Returns a Matcher that matches a Some value.

If matcher is provided, the matched value inside Some must also satisfy it. If omitted, any Some value matches.