getSingleChild method

Parser getSingleChild(
  1. String name
)

Implementation

Parser getSingleChild(String name) {
  final result = getSingleChildOrNull(name);
  if (result == null) {
    throw ParsingException(name, null, 'Required child missing');
  }
  return result;
}