copyWith method

BoolOptions copyWith({
  1. Set<String>? truthy,
  2. Set<String>? falsy,
  3. bool? numericPositiveIsTrue,
})

Returns a copy with selected fields replaced.

Implementation

BoolOptions copyWith({
  Set<String>? truthy,
  Set<String>? falsy,
  bool? numericPositiveIsTrue,
}) => BoolOptions(
  truthy: truthy ?? this.truthy,
  falsy: falsy ?? this.falsy,
  numericPositiveIsTrue: numericPositiveIsTrue ?? this.numericPositiveIsTrue,
);