getNumberProperty method
Returns a num of the additional properties for the given ID Returns null if the key is not a number
Implementation
num? getNumberProperty(String key) {
var data = properties[key];
if (data != null) {
if (data["type"] == "number") {
return data["value"];
}
}
return null;
}