Commit e72701b5 authored by GayaniPKarunaratne's avatar GayaniPKarunaratne

Change some codes in searchevent dart file

parent 20521bef
...@@ -234,9 +234,10 @@ Future<void> check() async{ ...@@ -234,9 +234,10 @@ Future<void> check() async{
var reText = jsonDecode(Data); var reText = jsonDecode(Data);
print(reText); print(reText);
// var ex = [2]; // var ex = [2];
//-----------------------------------------------------OutPut------------------------------------------------------------------------------
if(reText.toString() == '[0]') { if(reText.toString() == '[0]') {
print("Low Risk"); print("Low Risk");
} }
else if(reText.toString() == '[1]') { else if(reText.toString() == '[1]') {
print("Moderate Risk"); print("Moderate Risk");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment