WebAclCustomResponseBody constructor
const
WebAclCustomResponseBody({})
Creates a new WebAclCustomResponseBody.
content Payload of the custom response.
contentType Type of content in the payload that you are defining in the content argument. Valid values are TEXT_PLAIN, TEXT_HTML, or APPLICATION_JSON.
key Unique key identifying the custom response body. This is referenced by the customResponseBodyKey argument in the customResponse block.
Implementation
const WebAclCustomResponseBody({
required this.content,
required this.contentType,
required this.key,
});