RegisterAtsign class
This is a RegisterApiTask
that registers a free atsign fetched in
GetFreeAtsign to the email provided as args
throws AtException
with concerned message which was encountered in the
HTTP GET/POST request
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
params
↔ Map<
String, String> -
getter/setter pairinherited
- registerUtil ↔ OnboardingUtil
-
getter/setter pairinherited
- result ↔ RegisterApiResult
-
getter/setter pairinherited
- retryCount ↔ int
-
getter/setter pairinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
init(
Map< String, String> params, OnboardingUtil registerUtil) → void -
Initializes the Task object with necessary parameters
params
is a map that contains necessary data to complete atsign registration processinherited -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
run(
) → Future< RegisterApiResult> - Implementing classes need to implement required logic in this method to complete their sub-process in the AtSign registration process
-
shouldRetry(
) → bool -
In case the task has returned a
RegisterApiResult
with status retry, this method checks and returns if the call can be retriedinherited -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited