CardRowTemplateInfo.fromJson constructor

CardRowTemplateInfo.fromJson(
  1. Map json_
)

Implementation

CardRowTemplateInfo.fromJson(core.Map json_)
    : this(
        oneItem: json_.containsKey('oneItem')
            ? CardRowOneItem.fromJson(
                json_['oneItem'] as core.Map<core.String, core.dynamic>)
            : null,
        threeItems: json_.containsKey('threeItems')
            ? CardRowThreeItems.fromJson(
                json_['threeItems'] as core.Map<core.String, core.dynamic>)
            : null,
        twoItems: json_.containsKey('twoItems')
            ? CardRowTwoItems.fromJson(
                json_['twoItems'] as core.Map<core.String, core.dynamic>)
            : null,
      );