doom method
Implementation
Future<Map<String, dynamic>> doom(int doomId) async {
Response resp = await _placeProvider.doomInfo(doomId);
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 {};
}
}