doomFacil method
Implementation
Future<Map<String, dynamic>> doomFacil(int doomFacilId) async {
Response resp = await _placeProvider.doomFacilInfo(doomFacilId);
dynamic body = resp.body;
dynamic convertBody = convertUtf8ToObject(body);
ServerRespDto serverRespDto = ServerRespDto.fromJson(convertBody);
if (serverRespDto.code == 1) {
Map<String, dynamic> data = serverRespDto.data;
return data;
} else {
return {};
}
}