ApiUserModel class
- Annotations
-
- @JsonSerializable(explicitToJson: true)
- @DateConverter()
Constructors
Properties
- active → bool
-
final
- apiKey → String
-
final
- createdAt → DateTime
-
final
- expireAfter → Duration?
-
this can be null, to add the option to lifetime api keys
final
- hash → String
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- name → String
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- secretKeyEncrypted → String
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent 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
Static Methods
-
fromModels(
ApiKeyModel apiKeyModel, ApiHashModel apiHashModel) → ApiUserModel