HttpCheck class Null safety

Information involved in an HTTP/HTTPS Uptime check request.


HttpCheck({List<ResponseStatusCode>? acceptedResponseStatusCodes, BasicAuthentication? authInfo, String? body, String? contentType, Map<String, String>? headers, bool? maskHeaders, String? path, PingConfig? pingConfig, int? port, String? requestMethod, bool? useSsl, bool? validateSsl})
HttpCheck.fromJson(Map json_)


acceptedResponseStatusCodes List<ResponseStatusCode>?
If present, the check will only pass if the HTTP response status code is in this set of status codes.
read / write
authInfo BasicAuthentication?
The authentication information.
read / write
body String?
The request body associated with the HTTP POST request.
read / write
bodyAsBytes List<int>
read / write
contentType String?
The content type header to use for the check.
read / write
hashCode int
The hash code for this object.
headers Map<String, String>?
The list of headers to send as part of the Uptime check request.
read / write
maskHeaders bool?
Boolean specifying whether to encrypt the header information.
read / write
path String?
Optional (defaults to "/").
read / write
pingConfig PingConfig?
Contains information needed to add pings to an HTTP check.
read / write
port int?
Optional (defaults to 80 when use_ssl is false, and 443 when use_ssl is true).
read / write
requestMethod String?
The HTTP request method to use for the check.
read / write
runtimeType Type
A representation of the runtime type of the object.
useSsl bool?
If true, use HTTPS instead of HTTP to run the check.
read / write
validateSsl bool?
Boolean specifying whether to include SSL certificate validation as a part of the Uptime check.
read / write


noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
toJson() Map<String, dynamic>
toString() String
A string representation of this object.


operator ==(Object other) bool
The equality operator.