GoogleCloudDialogflowV2BatchCreateEntitiesRequest.fromJson constructor

GoogleCloudDialogflowV2BatchCreateEntitiesRequest.fromJson(
  1. Map json_
)

Implementation

GoogleCloudDialogflowV2BatchCreateEntitiesRequest.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,
      );