readString method
Reads a string value from the source, and if not found, returns the
provided defaultValue
.
Implementation
String readString(source, key, {String defaultValue = ''}) {
return tryReadString(source, key) ?? defaultValue;
}
Reads a string value from the source, and if not found, returns the
provided defaultValue
.
String readString(source, key, {String defaultValue = ''}) {
return tryReadString(source, key) ?? defaultValue;
}