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