getError function

String getError(
  1. int id
)

Implementation

String getError(int id) => _errors.length > id ? _errors[id] : _errors.last;