Update flutter EXAMPLES.md
This commit is contained in:
parent
154e972217
commit
f6281158a2
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@ Create a new user and session:
|
||||||
```dart
|
```dart
|
||||||
Account account = Account(client);
|
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');
|
final session = await account.createEmailSession(email: 'me@appwrite.io', password: 'password');
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue