numberProperty method
Retrieve a number property from the event with the given name.
Implementation
@override
CustomNumberProperty? numberProperty(String name) {
final property = properties[name];
if (property is CustomNumberProperty) {
return property;
}
return null;
}