UserCredentials class

Constructors

UserCredentials(String username, String password)
const

Properties

hashCode int
The hash code for this object.
no setterinherited
isBasicAuth bool
Check if basic authentication should be used
no setter
isEmpty bool
Check if credentials is empty
no setter
password String
Get credential password
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
username String
Get credential username
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

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

Static Methods

from(Map<String, String> userInfo) UserCredentials?

Constants

Empty → const UserCredentials