UpdatedWidget.fromJson constructor

UpdatedWidget.fromJson(
  1. Map json_
)

Implementation

UpdatedWidget.fromJson(core.Map json_)
    : this(
        suggestions: json_.containsKey('suggestions')
            ? SelectionItems.fromJson(
                json_['suggestions'] as core.Map<core.String, core.dynamic>)
            : null,
        widget: json_.containsKey('widget')
            ? json_['widget'] as core.String
            : null,
      );