supervisorsRequest function
Implementation
Future<List<Text>> supervisorsRequest() async {
final List<Text> cantonsServer = <Text>[];
final List<dynamic> retrieved = await Connection().supervisors();
for (final Map<String, dynamic> element in retrieved) {
cantonsServer.add(Text(element["fullName"]));
}
return cantonsServer;
}