signUp method
Implementation
@override
Future signUp({required MethodCall call}) async{
final payload = jsonDecode(call.arguments);
final email = payload["email"];
final username = payload["username"];
final password = payload["password"];
final result = await _getModuleInstance().signup(username: username, email: email, password: password);
return {
"success": result.success,
"message": result.message,
"data": {
// "signUpToken": result.data?.signupToken
}
};
}