same function Null safety
- Object? expected
Returns a matches that matches if the value is the same instance
as expected
, using identical.
Implementation
Matcher same(Object? expected) => _IsSameAs(expected);
Returns a matches that matches if the value is the same instance
as expected
, using identical.
Matcher same(Object? expected) => _IsSameAs(expected);