VerifyNip05 class
usecase to verify the Nip05 object
Constructors
- VerifyNip05({required CacheManager database, required Nip05Repository nip05Repository})
-
creates a new VerifyNip05 instance
_database
the cache manager_nip05Repository
the nip05 repository
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 nip05, required String pubkey}) → Future< Nip05> - checks the nip05 object for validity it checks the cache first, if not found it fetches from the network if either fails valid is set to false
-
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