GoogleCloudDialogflowCxV3FormParameter.fromJson constructor

GoogleCloudDialogflowCxV3FormParameter.fromJson(
  1. Map json_
)

Implementation

GoogleCloudDialogflowCxV3FormParameter.fromJson(core.Map json_)
    : this(
        advancedSettings: json_.containsKey('advancedSettings')
            ? GoogleCloudDialogflowCxV3AdvancedSettings.fromJson(
                json_['advancedSettings']
                    as core.Map<core.String, core.dynamic>)
            : null,
        defaultValue:
            json_.containsKey('defaultValue') ? json_['defaultValue'] : null,
        displayName: json_.containsKey('displayName')
            ? json_['displayName'] as core.String
            : null,
        entityType: json_.containsKey('entityType')
            ? json_['entityType'] as core.String
            : null,
        fillBehavior: json_.containsKey('fillBehavior')
            ? GoogleCloudDialogflowCxV3FormParameterFillBehavior.fromJson(
                json_['fillBehavior'] as core.Map<core.String, core.dynamic>)
            : null,
        isList:
            json_.containsKey('isList') ? json_['isList'] as core.bool : null,
        redact:
            json_.containsKey('redact') ? json_['redact'] as core.bool : null,
        required: json_.containsKey('required')
            ? json_['required'] as core.bool
            : null,
      );