copyWith method

NmResponseMatcher copyWith({
  1. NmResponseMatchMode? mode,
  2. String? pattern,
  3. bool? caseSensitive,
})

Copy with.

Implementation

NmResponseMatcher copyWith({NmResponseMatchMode? mode, String? pattern, bool? caseSensitive}) =>
    NmResponseMatcher(mode: mode ?? this.mode, pattern: pattern ?? this.pattern, caseSensitive: caseSensitive ?? this.caseSensitive);