copyWith method

RequestParamArgsChecker<T> copyWith({
  1. Set<T>? fields,
  2. bool failedChecker(
    1. T f
    )?,
})

Implementation

RequestParamArgsChecker<T> copyWith({
  Set<T>? fields,
  bool Function(T f)? failedChecker,
}) {
  return RequestParamArgsChecker<T>(
      fields: fields ?? _fields,
      failedChecker: failedChecker ?? this.failedChecker);
}