Skip to content

Commit

Permalink
fix: 900 - for KnowledgePanelActionElement html is now optional (#901)
Browse files Browse the repository at this point in the history
  • Loading branch information
monsieurtanuki authored Jun 7, 2024
1 parent 6dc009b commit e4ec263
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions lib/src/model/knowledge_panel_element.dart
Original file line number Diff line number Diff line change
Expand Up @@ -303,13 +303,13 @@ class KnowledgePanelTableElement extends JsonObject {
@JsonSerializable()
class KnowledgePanelActionElement extends JsonObject {
/// HTML description.
final String html;
final String? html;

/// Needed contribute actions, as [KnowledgePanelAction.addCategories.offTag].
final List<String> actions;

const KnowledgePanelActionElement({
required this.html,
this.html,
required this.actions,
});

Expand Down
2 changes: 1 addition & 1 deletion lib/src/model/knowledge_panel_element.g.dart

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit e4ec263

Please sign in to comment.