same function

Matcher same (dynamic expected)

Returns a matches that matches if the value is the same instance as expected, using identical.

Implementation

Matcher same(expected) => new _IsSameAs(expected);