copyWith method

Chain copyWith()

Implementation

Chain copyWith() {
  final c = Chain();
  c._preValidators = _preValidators?.copyWith();
  c._postValidators = _postValidators?.copyWith();
  c._coercion = _coercion;
  c._coercionKind = _coercionKind;
  c._prefix = _prefix;
  c._preservePreValidators = _preservePreValidators;
  return c;
}