GoogleCloudDialogflowV2SessionEntityType.fromJson constructor

GoogleCloudDialogflowV2SessionEntityType.fromJson(
  1. Map json_
)

Implementation

GoogleCloudDialogflowV2SessionEntityType.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,
        entityOverrideMode: json_.containsKey('entityOverrideMode')
            ? json_['entityOverrideMode'] as core.String
            : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
      );