Map<String, dynamic> toJson() { var json = <String, dynamic>{ 'customerId': customerId.toJson(), 'title': title, 'isPublic': isPublic }; return json; }