copyWith method
- bool? nullable,
- bool? optional,
- IValidator resolver(
- Map parentObject
override
Implementation
@override
IValidator copyWith({
bool? nullable,
bool? optional,
IValidator Function(Map parentObject)? resolver,
}) =>
ResolveValidator(
resolver: resolver ?? this.resolver,
nullable: nullable ?? isNullable,
optional: optional ?? isOptional,
);