GoogleCloudDialogflowV2Participant.fromJson constructor

GoogleCloudDialogflowV2Participant.fromJson(
  1. Map json_
)

Implementation

GoogleCloudDialogflowV2Participant.fromJson(core.Map json_)
    : this(
        documentsMetadataFilters:
            json_.containsKey('documentsMetadataFilters')
                ? (json_['documentsMetadataFilters']
                        as core.Map<core.String, core.dynamic>)
                    .map(
                    (key, value) => core.MapEntry(
                      key,
                      value as core.String,
                    ),
                  )
                : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
        obfuscatedExternalUserId:
            json_.containsKey('obfuscatedExternalUserId')
                ? json_['obfuscatedExternalUserId'] as core.String
                : null,
        role: json_.containsKey('role') ? json_['role'] as core.String : null,
        sipRecordingMediaLabel: json_.containsKey('sipRecordingMediaLabel')
            ? json_['sipRecordingMediaLabel'] as core.String
            : null,
      );