FreeAtsignService class

Service to generate free atsigns randomly

Constructors

FreeAtsignService()
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
initialized bool
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

getFreeAtsigns() Future
To get free @sign from the server
loginWithAtsign(String atsign) Future
To login with an @sign
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
postRequest(String path, Map<String, String?> data) Future
common POST request call
registerPerson(String atsign, String email, {String? oldEmail}) Future
To register the person with the provided atsign and email It will send an OTP to the registered email
toString() String
A string representation of this object.
inherited
validatePerson(String atsign, String email, String? otp, {bool confirmation = false}) Future
It will validate the person with atsign, email and the OTP. If the validation is successful, it will return a cram secret for the user to login
verificationWithAtsign(String atsign, String verificationCode) Future
validating atsign with verification code

Operators

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

Static Properties

freeAtsignService FreeAtsignService
getter/setter pair