onDuplicate method

  1. @protected
bool onDuplicate(
  1. String name,
  2. ValidationRuleFactory existing,
  3. bool overrideExisting
)
inherited

Handles duplicate entries with the given name and existing value.

Returns true if the existing entry should be overridden.

Implementation

@protected
bool onDuplicate(String name, V existing, bool overrideExisting) =>
    overrideExisting;