Map<String, Object?> toJson() { var canDelete = this.canDelete; var canEdit = this.canEdit; final json = <String, Object?>{}; json[r'canDelete'] = canDelete; json[r'canEdit'] = canEdit; return json; }