fromNumericIdOrThrow method
Implementation
T fromNumericIdOrThrow(final int id) {
final dynamic result = fromNumber(id);
if (result == null) {
throw ArgumentError.value(id, "id", 'No ${T.toString().split('.').first} found with numericId $id');
}
return result;
}