mensapluskit 0.1.0 mensapluskit: ^0.1.0 copied to clipboard
A small dart library to access the latest menus of all student canteens in Dresden.
example/mensapluskit_example.dart
import 'package:mensapluskit/mensapluskit.dart';
main() async {
var canteens = await MensaPlusKit.getCanteens();
var todayMenu = await canteens.first.getMenu(new DateTime.now());
todayMenu.items.forEach((item) {
if (item is Meal) {
print(item);
} else {
print(item);
}
});
}