Update flutter EXAMPLES.md
This commit is contained in:
parent
006d4237f5
commit
0d314df561
1 changed files with 2 additions and 2 deletions
|
@ -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');
|
||||
|
||||
|
|
Loading…
Reference in a new issue