add method

Validador add(
  1. Validar v, {
  2. String msg = DEFAULT_MESSAGE,
})

Implementation

Validador add(Validar v, {String msg = DEFAULT_MESSAGE}) {
  this._lista[v] = msg;
  return this;
}