anomaly method

Future<String> anomaly(
  1. Map<String, dynamic> data
)

Implementation

Future<String> anomaly(Map<String, dynamic> data) async {
  Response resp = await _cohortProvider.anomaly(data);
  dynamic body = resp.body;

  dynamic convertBody = convertUtf8ToObject(body);
  ServerRespDto serverRespDto = ServerRespDto.fromJson(convertBody);

  return serverRespDto.msg;
}