GoogleCloudRetailV2AddLocalInventoriesRequest.fromJson constructor

GoogleCloudRetailV2AddLocalInventoriesRequest.fromJson(
  1. Map json_
)

Implementation

GoogleCloudRetailV2AddLocalInventoriesRequest.fromJson(core.Map json_)
    : this(
        addMask: json_.containsKey('addMask')
            ? json_['addMask'] as core.String
            : null,
        addTime: json_.containsKey('addTime')
            ? json_['addTime'] as core.String
            : null,
        allowMissing: json_.containsKey('allowMissing')
            ? json_['allowMissing'] as core.bool
            : null,
        localInventories: json_.containsKey('localInventories')
            ? (json_['localInventories'] as core.List)
                .map((value) => GoogleCloudRetailV2LocalInventory.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );