getString static method
Get a string value from uiConfig with a default
Implementation
static String getString(
Map<String, dynamic>? uiConfig,
String key,
String defaultValue,
) {
if (uiConfig == null) return defaultValue;
final value = uiConfig[key];
if (value == null) return defaultValue;
return value.toString();
}