GoogleCloudDialogflowCxV3SessionEntityType.fromJson constructor

GoogleCloudDialogflowCxV3SessionEntityType.fromJson(
  1. Map json_
)

Implementation

GoogleCloudDialogflowCxV3SessionEntityType.fromJson(core.Map json_)
    : this(
        entities: json_.containsKey('entities')
            ? (json_['entities'] as core.List)
                .map((value) =>
                    GoogleCloudDialogflowCxV3EntityTypeEntity.fromJson(
                        value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        entityOverrideMode: json_.containsKey('entityOverrideMode')
            ? json_['entityOverrideMode'] as core.String
            : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
      );