GoogleCloudRetailV2ColorInfo.fromJson constructor

GoogleCloudRetailV2ColorInfo.fromJson(
  1. Map json_
)

Implementation

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