NetworkHeaderTools class
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
basicAuth_usernameAndPassword(
String username, String password) → String -
How to use ?
var basicAuth = NetworkHeaderTools.basicAuth_usernameAndPassword( PayPalConstant.clientId, PayPalConstant.secret);
header
"Authorization"
= basicAuth; -
bearerToken(
String token) → Map< String, String> -
bearerTokenAndLang(
String token) → Map< String, String>