SelectionItems.fromJson constructor

SelectionItems.fromJson(
  1. Map json_
)

Implementation

SelectionItems.fromJson(core.Map json_)
    : this(
        items: json_.containsKey('items')
            ? (json_['items'] as core.List)
                .map((value) => GoogleAppsCardV1SelectionItem.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );