DiscoveryclustersClustersBannerWithContentContainer.fromJson constructor

DiscoveryclustersClustersBannerWithContentContainer.fromJson(
  1. Map json_
)

Implementation

DiscoveryclustersClustersBannerWithContentContainer.fromJson(core.Map json_)
    : this(
        fillColorArgb: json_.containsKey('fillColorArgb')
            ? json_['fillColorArgb'] as core.String
            : null,
        imageUrl: json_.containsKey('imageUrl')
            ? json_['imageUrl'] as core.String
            : null,
        maskColorArgb: json_.containsKey('maskColorArgb')
            ? json_['maskColorArgb'] as core.String
            : null,
        moreButtonText: json_.containsKey('moreButtonText')
            ? json_['moreButtonText'] as core.String
            : null,
        moreButtonUrl: json_.containsKey('moreButtonUrl')
            ? json_['moreButtonUrl'] as core.String
            : null,
        textColorArgb: json_.containsKey('textColorArgb')
            ? json_['textColorArgb'] as core.String
            : null,
      );