TomSecretsPinHash class final

On: a changed hash is no grant, and the request goes to approval.

Inheritance

Constructors

TomSecretsPinHash()
The pin.
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

check({required String? recorded, required String? current, DateTime? now}) → TomSecretsPinCheck
Checks a file whose hash is current (null: it cannot be read) against the grant's recorded hash at now.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Object
The protocol's pin value.
override
toString() → String
A string representation of this object.
inherited

Operators

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