double getNumberProperty(String key) { return double.tryParse(properties.fields[key]!.stringValue!)!; }