SteamTOTP class

SteamTOTP generates 5-character alphanumeric Steam TOTP codes. Possible characters can be found in SteamTOTP.steamChars.

Constructors

SteamTOTP({required String secret})

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
secret ↔ String
getter/setter pair

Methods

generate([int? unixSeconds]) → String
By default, the current epoch time will be used. This behavior can be overridden by passing in unixSeconds explicitly.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Constants

steamChars → const String