copyWith abstract method

IValidator copyWith({
  1. bool? nullable,
  2. bool? optional,
})

Creates a copy of the validator with the given parameters.

Implementation

IValidator copyWith({bool? nullable, bool? optional});