Skip to content

Commit 39d1e88

Browse files
committed
Update the Flutter SDK documentation
1 parent 5b8142f commit 39d1e88

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed

fern/docs/pages/sdks/mobile/flutter/features.mdx

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -153,20 +153,20 @@ The identity map can contain the following properties:
153153
| `userRef` | `String` || A unique identifier for the user |
154154
| `organizationRef` | `String?` || An identifier for the user's organization |
155155
| `accountRef` | `String?` || An identifier for the user's account |
156-
| `userTraits` | `UserTraits?` || Additional information about the user |
157-
| `organizationTraits` | `OrganizationTraits?` || Additional information about the organization |
158-
| `accountTraits` | `AccountTraits?` || Additional information about the account |
156+
| `userTraits` | `Map<String, dynamic>?` || Additional information about the user |
157+
| `organizationTraits` | `Map<String, dynamic>?` || Additional information about the organization |
158+
| `accountTraits` | `Map<String, dynamic>?` || Additional information about the account |
159159

160160
<Callout intent="note">
161161
The custom fields properties defined as part of the user, organization and account traits, must be configured in the DevRev web app **before** they can be used. See [Object customization](https://devrev.ai/docs/product/object-customization) for more information.
162162
</Callout>
163163

164164
#### User traits
165165

166-
The `UserTraits` class contains detailed information about the user:
166+
The `userTraits` map contains detailed information about the user:
167167

168168
<Callout intent="note">
169-
All properties in `UserTraits` are optional.
169+
All properties in `userTraits` are optional.
170170
</Callout>
171171

172172
| Property | Type | Description |
@@ -175,42 +175,42 @@ All properties in `UserTraits` are optional.
175175
| `email` | `String?` | The user's email address |
176176
| `fullName` | `String?` | The user's full name |
177177
| `description` | `String?` | A description of the user |
178-
| `customFields` | `{ [key: String]: any }` | Dictionary of custom fields configured in DevRev |
178+
| `customFields` | `Map<String, dynamic>?` | Dictionary of custom fields configured in DevRev |
179179

180180
#### Organization traits
181181

182-
The `OrganizationTraits` class contains detailed information about the organization:
182+
The `organizationTraits` map contains detailed information about the organization:
183183

184184
<Callout intent="note">
185-
All properties in `OrganizationTraits` are optional.
185+
All properties in `organizationTraits` are optional.
186186
</Callout>
187187

188188
| Property | Type | Description |
189189
|----------|------|-------------|
190190
| `displayName` | `String?` | The displayed name of the organization |
191191
| `domain` | `String?` | The organization's domain |
192192
| `description` | `String?` | A description of the organization |
193-
| `phoneNumbers` | `String[]?` | Array of the organization's phone numbers |
193+
| `phoneNumbers` | `List<String>?` | Array of the organization's phone numbers |
194194
| `tier` | `String?` | The organization's tier or plan level |
195-
| `customFields` | `{ [key: String]: any }` | Dictionary of custom fields configured in DevRev |
195+
| `customFields` | `Map<String, dynamic>?` | Dictionary of custom fields configured in DevRev |
196196

197197
#### Account traits
198198

199-
The `AccountTraits` class contains detailed information about the account:
199+
The `accountTraits` map contains detailed information about the account:
200200

201201
<Callout intent="note">
202-
All properties in `AccountTraits` are optional.
202+
All properties in `accountTraits` are optional.
203203
</Callout>
204204

205205
| Property | Type | Description |
206206
|----------|------|-------------|
207207
| `displayName` | `String?` | The displayed name of the account |
208-
| `domains` | `String[]?` | Array of domains associated with the account |
208+
| `domains` | `List<String>?` | Array of domains associated with the account |
209209
| `description` | `String?` | A description of the account |
210-
| `phoneNumbers` | `String[]?` | Array of the account's phone numbers |
211-
| `websites` | `String[]?` | Array of websites associated with the account |
210+
| `phoneNumbers` | `List<String>?` | Array of the account's phone numbers |
211+
| `websites` | `List<String>?` | Array of websites associated with the account |
212212
| `tier` | `String?` | The account's tier or plan level |
213-
| `customFields` | `{ [key: String]: any }` | Dictionary of custom fields configured in DevRev |
213+
| `customFields` | `Map<String, dynamic>?` | Dictionary of custom fields configured in DevRev |
214214

215215
## PLuG support chat
216216

0 commit comments

Comments
 (0)