merge method

BoolOptions merge(
  1. BoolOptions other
)

Returns a new BoolOptions that prefers other's settings.

Implementation

BoolOptions merge(BoolOptions other) => BoolOptions(
  truthy: other.truthy.isNotEmpty ? other.truthy : truthy,
  falsy: other.falsy.isNotEmpty ? other.falsy : falsy,
  numericPositiveIsTrue: other.numericPositiveIsTrue,
);