Calendar.fromJson constructor Null safety
Implementation
Calendar.fromJson(Map<String, dynamic> data) {
this.id = data["id"];
this.name = data["name"];
this.accountName = data["accountName"];
this.ownerName = data["ownerName"];
}
Calendar.fromJson(Map<String, dynamic> data) {
this.id = data["id"];
this.name = data["name"];
this.accountName = data["accountName"];
this.ownerName = data["ownerName"];
}