copy method

Validator copy()

Returns a copy of this Validator.

Implementation

Validator copy() {
  return Validator(callbacks: callbacks.toList());
}