timeTableInfo method
Implementation
Future<Map<String, dynamic>> timeTableInfo(int id) async {
Response resp = await _cohortProvider.timeTableInfo(id);
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 {};
}
}