getString method
Access a String
value.
Returns null
if there is no such key or if it is not a String
.
Implementation
String getString(String key) {
if (get(key) is! String) {
return null;
}
return get(key);
}
Access a String
value.
Returns null
if there is no such key or if it is not a String
.
String getString(String key) {
if (get(key) is! String) {
return null;
}
return get(key);
}