checkIfSurwayComplete method
Implementation
Future<bool> checkIfSurwayComplete(int sessionID, int studentID) async {
if (sessionID == -1 || studentID == -1) {
return false;
}
final Response res = await super.dio.get(
"/surveys",
data: <String, dynamic>{
"studentID": studentID,
"sessionID": sessionID,
},
);
return res.statusCode == 200;
}