GoogleCloudRetailV2CompletionDetail.fromJson constructor

GoogleCloudRetailV2CompletionDetail.fromJson(
  1. Map json_
)

Implementation

GoogleCloudRetailV2CompletionDetail.fromJson(core.Map json_)
    : this(
        completionAttributionToken:
            json_.containsKey('completionAttributionToken')
                ? json_['completionAttributionToken'] as core.String
                : null,
        selectedPosition: json_.containsKey('selectedPosition')
            ? json_['selectedPosition'] as core.int
            : null,
        selectedSuggestion: json_.containsKey('selectedSuggestion')
            ? json_['selectedSuggestion'] as core.String
            : null,
      );