ProductFeedData.fromJson constructor

ProductFeedData.fromJson(
  1. Map json_
)

Implementation

ProductFeedData.fromJson(core.Map json_)
    : this(
        isFeedDisabled: json_.containsKey('isFeedDisabled')
            ? json_['isFeedDisabled'] as core.bool
            : null,
        productMatchDimensions: json_.containsKey('productMatchDimensions')
            ? (json_['productMatchDimensions'] as core.List)
                .map((value) => ProductMatchDimension.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        productMatchType: json_.containsKey('productMatchType')
            ? json_['productMatchType'] as core.String
            : null,
      );