tryFrom static method
The from exception handling
Implementation
static QuantityType? tryFrom(String identifier) {
try {
return from(identifier);
} on InvalidValueException {
return null;
}
}
The from exception handling
static QuantityType? tryFrom(String identifier) {
try {
return from(identifier);
} on InvalidValueException {
return null;
}
}