copy method

  1. @override
ObjectAssertions copy(
  1. Object? subject, {
  2. bool isReversed = false,
  3. String? subjectLabel,
})
override

Copy the matcher

Implementation

@override
ObjectAssertions copy(
  Object? subject, {
  bool isReversed = false,
  String? subjectLabel,
}) {
  return ObjectAssertions(
    subject,
    isReversed: isReversed,
    subjectLabel: subjectLabel,
  );
}