GoogleAppsCardV1ButtonList.fromJson constructor

GoogleAppsCardV1ButtonList.fromJson(
  1. Map json_
)

Implementation

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