getString static method

Future<String?> getString(
  1. String path, {
  2. bool isLocal = false,
})

Get string from storage or local

Implementation

static Future<String?> getString(String path, {bool isLocal = false}) async {
  if (isLocal) {
    return getLocalString(path);
  } else {
    return await FireUploader().getObject(path) as String;
  }
}