Update dart EXAMPLES.md
This commit is contained in:
parent
0587aec643
commit
613a733169
1 changed files with 6 additions and 4 deletions
|
@ -18,9 +18,11 @@ Create a new user:
|
||||||
Users users = Users(client);
|
Users users = Users(client);
|
||||||
|
|
||||||
User result = await users.create(
|
User result = await users.create(
|
||||||
userId: '[USER_ID]',
|
ID.unique(),
|
||||||
email: 'email@example.com',
|
email = 'email@example.com',
|
||||||
password: 'password',
|
phone = '+123456789',
|
||||||
|
password = 'password',
|
||||||
|
name = "Walter O'Brien"
|
||||||
);
|
);
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -57,4 +59,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)
|
||||||
|
|
Loading…
Reference in a new issue