GoogleCloudRetailV2CustomAttribute.fromJson constructor

GoogleCloudRetailV2CustomAttribute.fromJson(
  1. Map json_
)

Implementation

GoogleCloudRetailV2CustomAttribute.fromJson(core.Map json_)
  : this(
      indexable: json_['indexable'] as core.bool?,
      numbers:
          (json_['numbers'] as core.List?)
              ?.map((value) => (value as core.num).toDouble())
              .toList(),
      searchable: json_['searchable'] as core.bool?,
      text:
          (json_['text'] as core.List?)
              ?.map((value) => value as core.String)
              .toList(),
    );