parse method
Future<TreeElement>
parse(
- ResourceResolver resolver,
- String instanceId,
- String instanceSrc, {
- bool partial = false,
Loads the instance instanceId from instanceSrc.
Throws ResourceNotFoundException when the file is missing, and the format parsers' exceptions when it is malformed.
Implementation
Future<TreeElement> parse(
ResourceResolver resolver,
String instanceId,
String instanceSrc, {
bool partial = false,
}) async => (await parseWithReload(
resolver,
instanceId,
instanceSrc,
partial: partial,
)).$1;