hasError method

bool hasError(
  1. String errorCode, [
  2. List<String>? path
])

Implementation

bool hasError(String errorCode, [List<String>? path]) =>
    getError(errorCode, path) != null;