GoogleAppsCardV1SelectionItem.fromJson constructor

GoogleAppsCardV1SelectionItem.fromJson(
  1. Map json_
)

Implementation

GoogleAppsCardV1SelectionItem.fromJson(core.Map json_)
    : this(
        bottomText: json_.containsKey('bottomText')
            ? json_['bottomText'] as core.String
            : null,
        selected: json_.containsKey('selected')
            ? json_['selected'] as core.bool
            : null,
        startIconUri: json_.containsKey('startIconUri')
            ? json_['startIconUri'] as core.String
            : null,
        text: json_.containsKey('text') ? json_['text'] as core.String : null,
        value:
            json_.containsKey('value') ? json_['value'] as core.String : null,
      );