copyWith method

NmResponseEffect copyWith({
  1. NmResponseField? field,
  2. NmParameterValueSource? source,
  3. String? captureNameOrIndex,
  4. String? fixedValue,
  5. List<NmResponseNormalizer>? normalizers,
})

Copy with.

Implementation

NmResponseEffect copyWith({
  NmResponseField? field,
  NmParameterValueSource? source,
  String? captureNameOrIndex,
  String? fixedValue,
  List<NmResponseNormalizer>? normalizers,
}) => NmResponseEffect(
  field: field ?? this.field,
  source: source ?? this.source,
  captureNameOrIndex: captureNameOrIndex ?? this.captureNameOrIndex,
  fixedValue: fixedValue ?? this.fixedValue,
  normalizers: normalizers ?? this.normalizers,
);