generateCoreValues function

Future generateCoreValues()

Implementation

Future generateCoreValues() async {
  try {
    for (String uuidThreat in CoreValues.uuidThreats) {
      var temp = <Node>[];
      CoreValues.userPositive[uuidThreat] = temp;
      temp = <Node>[];
      CoreValues.userNegative[uuidThreat] = temp;
      temp = <Node>[];
      CoreValues.userRecommendation[uuidThreat] = temp;
      temp = <Node>[];
      CoreValues.devicePositive[uuidThreat] = temp;
      temp = <Node>[];
      CoreValues.deviceNegative[uuidThreat] = temp;
      temp = <Node>[];
      CoreValues.deviceRecommendation[uuidThreat] = temp;
    }


  } catch (e) {
      // ignore: avoid_print
      print(e);
  }
}