my_app_write_auth 1.0.5 copy "my_app_write_auth: ^1.0.5" to clipboard
my_app_write_auth: ^1.0.5 copied to clipboard

appwrite_auth_package

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;
}

Additional information #

this is a simple example if you find any kind of bugs and want to contribute most welcome.

2
likes
130
points
56
downloads

Publisher

unverified uploader

Weekly Downloads

appwrite_auth_package

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

appwrite, flutter, get_storage

More

Packages that depend on my_app_write_auth