Last updated:
0 purchases
my app write auth
TODO: This package is based on app write we can user app_write authentication
Features #
this is sample auth functionality with our backend response.
Getting started #
List prerequisites and provide or point to information on how to
start using the package.
Usage #
Include short and useful examples for package users. Add longer examples
to example/main.dart folder.
Future<Map<String, dynamic>?> appWriteSingUp({required SignUpRequest signUpRequest}) async {
Map<String, dynamic>? response;
try {
response = await AppWriteService.createEmailAccount(
email: signUpRequest.email, password: signUpRequest.password, name: signUpRequest.name);
} catch (error) {
if (error is Map<String, dynamic>) {
response = error;
} else {
print("Signup Error => $error");
}
}
return response;
}
copied to clipboard
Additional information #
this is a simple example if you find any kind of bugs and want to contribute most welcome.
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.