OathTokenCode class
Represents a currently active OTP token.
Constructors
- OathTokenCode(String? code, int? start, int? until, TokenType tokenType)
- Creates OathTokenCode object with given information.
-
OathTokenCode.fromJson(Map<
String, dynamic> ? json) -
Deserializes the specified JSON into an OathTokenCode object.
factory
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> - Creates a JSON string representation of OathTokenCode object.
-
toString(
) → String -
Creates a String representation of OathTokenCode object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited