initErrors static method

dynamic initErrors(
  1. Map<Object, Failure> errors
)

Initialize errors and uses your custom errors.

Implementation

static initErrors(Map<Object, Failure> errors) => _errors = errors;