getString static method

String getString(
  1. String key, {
  2. String defaultValue = '',
})

Convenience getters mirroring Firebase's typed accessors. App code can call these directly when it specifically wants RC (not the unified UniTrack resolver chain).

Implementation

static String getString(String key, {String defaultValue = ''}) =>
    lookup<String>(key) ?? defaultValue;