BasicAuthentication class Null safety

The authentication parameters to provide to the specified resource or URL that requires a username and password.

Currently, only Basic HTTP authentication (https://tools.ietf.org/html/rfc7617) is supported in Uptime checks.

Constructors

BasicAuthentication({String? password, String? username})
BasicAuthentication.fromJson(Map json_)

Properties

hashCode int
The hash code for this object.
read-onlyinherited
password String?
The password to use when authenticating with the HTTP server.
read / write
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
username String?
The username to use when authenticating with the HTTP server.
read / write

Methods

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

Operators

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