getPresetContextForApp static method

Map<String, Object> getPresetContextForApp()

Implementation

static Map<String, Object> getPresetContextForApp() {
  Map<String, Object> result = {};
  FlagshipContext.values.forEach((element) {
    Object? val = getValue(element);
    if (val != null) {
      result.addAll({rawValue(element): val});
    }
  });
  return result;
}