tryParse static method
Tries to parse s
.
Returns null
if s
has no template or a not valid template code.
Implementation
static DOMTemplateNode? tryParse(String? s) {
try {
return _parse(s, true);
} catch (e) {
return null;
}
}
Tries to parse s
.
Returns null
if s
has no template or a not valid template code.
static DOMTemplateNode? tryParse(String? s) {
try {
return _parse(s, true);
} catch (e) {
return null;
}
}