addError method

void addError(
  1. String error
)

Implementation

void addError(String error) => errors.add(error);