GoogleCloudDialogflowV2BatchUpdateEntitiesRequest.fromJson constructor

GoogleCloudDialogflowV2BatchUpdateEntitiesRequest.fromJson(
  1. Map json_
)

Implementation

GoogleCloudDialogflowV2BatchUpdateEntitiesRequest.fromJson(core.Map json_)
    : this(
        entities: json_.containsKey('entities')
            ? (json_['entities'] as core.List)
                .map((value) =>
                    GoogleCloudDialogflowV2EntityTypeEntity.fromJson(
                        value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        languageCode: json_.containsKey('languageCode')
            ? json_['languageCode'] as core.String
            : null,
        updateMask: json_.containsKey('updateMask')
            ? json_['updateMask'] as core.String
            : null,
      );