double? getDoubleOrNull( String key, ) { if (jsonObject.containsKey(key)) { return double.tryParse(jsonObject[key].toString()); } return null; }