GoogleCloudRetailV2ColorInfo.fromJson constructor

GoogleCloudRetailV2ColorInfo.fromJson(
  1. Map json_
)

Implementation

GoogleCloudRetailV2ColorInfo.fromJson(core.Map json_)
    : this(
        colorFamilies: (json_['colorFamilies'] as core.List?)
            ?.map((value) => value as core.String)
            .toList(),
        colors: (json_['colors'] as core.List?)
            ?.map((value) => value as core.String)
            .toList(),
      );