parseResult static method

ParsedResult parseResult(
  1. Result result
)

Implementation

static ParsedResult parseResult(Result result) {
  for (ResultParser parser in _parsers) {
    final theResult = parser.parse(result);
    if (theResult != null) {
      return theResult;
    }
  }
  return TextParsedResult(result.text, null);
}