1
0
Fork 0
mirror of synced 2024-07-04 14:10:33 +12:00

Update flutter-dev EXAMPLES.md

This commit is contained in:
Pratik Gupta 2023-10-17 01:28:09 +05:30 committed by GitHub
parent 613a733169
commit 2c3b860e63
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -17,7 +17,7 @@ Create a new user and session:
```dart
Account account = Account(client);
final user = await account.create(userId: '[USER_ID]', email: 'me@appwrite.io', password: 'password', name: 'My Name');
final user = await account.create(ID.unique(), email = 'email@example.com', phone = '+123456789', password = 'password', name = "Walter O'Brien");
final session = await account.createEmailSession(email: 'me@appwrite.io', password: 'password');
@ -60,4 +60,4 @@ storage.createFile(
});
```
All examples and API features are available at the [official Appwrite docs](https://appwrite.io/docs)
All examples and API features are available at the [official Appwrite docs](https://appwrite.io/docs)