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

code String?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
oathType TokenType?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
start int?
getter/setter pair
until int?
getter/setter pair

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