Connection class

Inheritance

Constructors

Connection()
factory

Properties

dio Dio
finalinherited
hashCode int
The hash code for this object.
read-onlyinherited
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

Methods

addAlgorithm({required Algorithm a}) Future<int>
addLog(int resultsID, String logs) Future<int>
addSchool(String canton, String name) Future<int>
addSession(Session s) Future<int>
addStudent(DateTime date, String gender, int session) Future<int>
addSupervisor(String name) Future<int>
addSurvay(int sessionID, int studentID, Map<String, String> results, int time) Future<int>
cantos() Future
checkIfSurwayComplete(int sessionID, int studentID) Future<bool>
computeColored() int
computeColoredCorretly() int
getCommandsByAlgorithmID(int id) Future<String>
getResultsByStudentID(int id) Future
makeGetRequest(String path, {Map<String, dynamic>? data}) TaskEither<String, Response<List>>
inherited
makePostRequest(String path, Map<String, dynamic> data) TaskEither<String, Response<Map<String, dynamic>>>
inherited
mappingGetRequest(String path, {Map<String, dynamic>? data}) TaskEither<String, List>
inherited
mappingPostRequest(String path, Map<String, dynamic> data) TaskEither<String, Map<String, dynamic>>
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
resposeToList(Response response) List
inherited
resposeToMap(Response response) Map<String, dynamic>
inherited
schools() Future
sessions() Future
students() Future
supervisors() Future
testConnection() Future<bool>
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited