userBot function

Future userBot(
  1. dynamic controller,
  2. dynamic uuid
)

Implementation

Future userBot(var controller,var uuid) async {
  var bodys = '{"geigerValue": "32.5", "minValue": "0", "cUUID": "5a6487c7-c1c5-4f28-995e-8805e45bf1a3", "maxValue": "100", "valueType": "double", "mUUID": "123e4567-e89b-42d3-a456-556642440sdk-m01", '
      '"threatsImpact": "80efffaf-98a1-4e0a-8f5e-gr89388352ph,High;80efffaf-98a1-4e0a-8f5e-gr89388354sp,High;80efffaf-98a1-4e0a-8f5e-th89388365it,High;80efffaf-98a1-4e0a-8f5e-gr89388350ma,Medium;80efffaf-98a1-4e0a-8f5e-gr89388356db,Medium"}';
  var a = json.decode(bodys.toString());

  await createUserData(a, controller, uuid);
}