PersonalTokenArgs class
The set of arguments for PersonalToken. The set of arguments for PersonalToken.
Constructors
-
PersonalTokenArgs({required Input<
String> description, required Input<int> expires, Input<String> ? reason}) -
Creates a new PersonalTokenArgs.
descriptionThe descriptionexpiresThe expiration timereasonTracks the context that triggered token creation (e.g., redirect URL or referral source)const -
PersonalTokenArgs.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
description
→ Input<
String> -
The description
final
-
expires
→ Input<
int> -
The expiration time
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
reason
→ Input<
String> ? -
Tracks the context that triggered token creation (e.g., redirect URL or referral source)
final
- 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
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited