loginWithAtsign method
To login with an @sign
Implementation
Future<dynamic> loginWithAtsign(String atsign) async {
// if init was not called earlier, call here to initialize the http
if (!initialized) {
_init();
}
Map<String, String?> data = <String, String?>{'atsign': atsign};
String path =
AtOnboardingConstants.apiPath + AtOnboardingConstants.authWithAtsign;
dynamic response = await postRequest(path, data);
return response;
}