AuthModel class
- Annotations
-
- @freezed
Constructors
- AuthModel.new({required APIAuthType type, AuthApiKeyModel? apikey, AuthBearerModel? bearer, AuthBasicAuthModel? basic, AuthJwtModel? jwt, AuthDigestModel? digest})
-
constfactory
-
AuthModel.fromJson(Map<
String, dynamic> json) -
factory
Properties
- apikey → AuthApiKeyModel?
-
no setterinherited
- basic → AuthBasicAuthModel?
-
no setterinherited
- bearer → AuthBearerModel?
-
no setterinherited
-
copyWith
→ $AuthModelCopyWith<
AuthModel> -
Create a copy of AuthModel
with the given fields replaced by the non-null parameter values.
no setterinherited
- digest → AuthDigestModel?
-
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- jwt → AuthJwtModel?
-
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- type → APIAuthType
-
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
Serializes this AuthModel to a JSON map.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited