getCanteens method

Future<List<Canteen>> getCanteens()

Implementation

Future<List<Canteen>> getCanteens() async => http
    .get(Uri.parse("$baseUrl/canteens"))
    .then((http.Response r) => canteensFromJson(r.body));