string method
Returns the string representation of the value associated with key.
If the key does not exist or the value is null, returns an empty string.
Implementation
String string(K key) {
return this[key]?.toString() ?? '';
}
Returns the string representation of the value associated with key.
If the key does not exist or the value is null, returns an empty string.
String string(K key) {
return this[key]?.toString() ?? '';
}