mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
Update flutter EXAMPLES.md
This commit is contained in:
@@ -17,7 +17,7 @@ Create a new user and session:
|
||||
```dart
|
||||
Account account = Account(client);
|
||||
|
||||
final user = await account.create(userId: '[USER_ID]', email: 'email@example.com', phone: '+123456789', password: 'password', name: "Walter O'Brien");
|
||||
final user = await account.create(userId: 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');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user