property method
Returns a property by its name or throws an error.
Implementation
@pragma('vm:prefer-inline')
PropertySchema property(String propertyName) {
final property = properties[propertyName];
if (property != null) {
return property;
} else {
throw IsarError('Unknown property "$propertyName"');
}
}