equalsBuilt function

Matcher equalsBuilt(
  1. Built<Built, Builder> expected
)

Returns a matcher that matches if the value is structurally equal to expected.

Improves on a simple equality test by offering a detailed mismatch message.

Implementation

Matcher equalsBuilt(Built expected) => _BuiltValueMatcher(expected);