getStringOrEmpty static method

String getStringOrEmpty(
  1. String key
)

return String by key if exists else return '' (Empty String)

Implementation

static String getStringOrEmpty(
  String key,
) =>
    getStringOrNull(key) ?? '';