GoogleCloudDialogflowV2FulfillmentGenericWebService.fromJson constructor

GoogleCloudDialogflowV2FulfillmentGenericWebService.fromJson(
  1. Map json_
)

Implementation

GoogleCloudDialogflowV2FulfillmentGenericWebService.fromJson(core.Map json_)
    : this(
        isCloudFunction: json_.containsKey('isCloudFunction')
            ? json_['isCloudFunction'] as core.bool
            : null,
        password: json_.containsKey('password')
            ? json_['password'] as core.String
            : null,
        requestHeaders: json_.containsKey('requestHeaders')
            ? (json_['requestHeaders'] as core.Map<core.String, core.dynamic>)
                .map(
                (key, value) => core.MapEntry(
                  key,
                  value as core.String,
                ),
              )
            : null,
        uri: json_.containsKey('uri') ? json_['uri'] as core.String : null,
        username: json_.containsKey('username')
            ? json_['username'] as core.String
            : null,
      );