HttpAuthResponse class

Class that represents the response used by the PlatformWebViewCreationParams.onReceivedHttpAuthRequest event.

Constructors

HttpAuthResponse({HttpAuthResponseAction? action = HttpAuthResponseAction.CANCEL, String password = "", bool permanentPersistence = false, String username = ""})

Properties

action HttpAuthResponseAction?
Indicate the HttpAuthResponseAction to take in response of the authentication challenge.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
password String
Represents the password used for the authentication if the action corresponds to HttpAuthResponseAction.PROCEED
getter/setter pair
permanentPersistence bool
Indicate if the given credentials need to be saved permanently.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
username String
Represents the username used for the authentication if the action corresponds to HttpAuthResponseAction.PROCEED
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Converts instance to a map.
toMap() Map<String, dynamic>
Converts instance to a map.
toString() String
A string representation of this object.
override

Operators

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

Static Methods

fromMap(Map<String, dynamic>? map) HttpAuthResponse?
Gets a possible HttpAuthResponse instance from a Map value.