GoogleAppsCardV1Widgets.fromJson constructor

GoogleAppsCardV1Widgets.fromJson(
  1. Map json_
)

Implementation

GoogleAppsCardV1Widgets.fromJson(core.Map json_)
  : this(
      buttonList: json_.containsKey('buttonList')
          ? GoogleAppsCardV1ButtonList.fromJson(
              json_['buttonList'] as core.Map<core.String, core.dynamic>,
            )
          : null,
      chipList: json_.containsKey('chipList')
          ? GoogleAppsCardV1ChipList.fromJson(
              json_['chipList'] as core.Map<core.String, core.dynamic>,
            )
          : null,
      dateTimePicker: json_.containsKey('dateTimePicker')
          ? GoogleAppsCardV1DateTimePicker.fromJson(
              json_['dateTimePicker'] as core.Map<core.String, core.dynamic>,
            )
          : null,
      decoratedText: json_.containsKey('decoratedText')
          ? GoogleAppsCardV1DecoratedText.fromJson(
              json_['decoratedText'] as core.Map<core.String, core.dynamic>,
            )
          : null,
      image: json_.containsKey('image')
          ? GoogleAppsCardV1Image.fromJson(
              json_['image'] as core.Map<core.String, core.dynamic>,
            )
          : null,
      selectionInput: json_.containsKey('selectionInput')
          ? GoogleAppsCardV1SelectionInput.fromJson(
              json_['selectionInput'] as core.Map<core.String, core.dynamic>,
            )
          : null,
      textInput: json_.containsKey('textInput')
          ? GoogleAppsCardV1TextInput.fromJson(
              json_['textInput'] as core.Map<core.String, core.dynamic>,
            )
          : null,
      textParagraph: json_.containsKey('textParagraph')
          ? GoogleAppsCardV1TextParagraph.fromJson(
              json_['textParagraph'] as core.Map<core.String, core.dynamic>,
            )
          : null,
    );