Commit 76bcab2a authored by Mauritz, Falk Marius's avatar Mauritz, Falk Marius
Browse files

Auth in Client

todo
parent 8e182a4c
Pipeline #6495 passed with stage
in 3 minutes and 42 seconds
......@@ -28,7 +28,8 @@ class Appointment {
String location = "";
String note = "";
Map<String,dynamic> toJson() => {
Map<String, dynamic> toJson() => {
'id': id,
'name': name,
'year': year,
'month': month,
......@@ -51,8 +52,7 @@ class Appointment {
return "$year-$month-$day";
}
bool equals(Appointment app){
bool equals(Appointment app) {
return this.toJson() == app.toJson();
}
}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment