You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: fern/docs/pages/sdks/mobile/flutter/features.mdx
+16-16Lines changed: 16 additions & 16 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -153,20 +153,20 @@ The identity map can contain the following properties:
153
153
|`userRef`|`String`| ✅ | A unique identifier for the user |
154
154
|`organizationRef`|`String?`| ❌ | An identifier for the user's organization |
155
155
|`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 |
159
159
160
160
<Calloutintent="note">
161
161
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.
162
162
</Callout>
163
163
164
164
#### User traits
165
165
166
-
The `UserTraits` class contains detailed information about the user:
166
+
The `userTraits` map contains detailed information about the user:
167
167
168
168
<Calloutintent="note">
169
-
All properties in `UserTraits` are optional.
169
+
All properties in `userTraits` are optional.
170
170
</Callout>
171
171
172
172
| Property | Type | Description |
@@ -175,42 +175,42 @@ All properties in `UserTraits` are optional.
175
175
|`email`|`String?`| The user's email address |
176
176
|`fullName`|`String?`| The user's full name |
177
177
|`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 |
179
179
180
180
#### Organization traits
181
181
182
-
The `OrganizationTraits` class contains detailed information about the organization:
182
+
The `organizationTraits` map contains detailed information about the organization:
183
183
184
184
<Calloutintent="note">
185
-
All properties in `OrganizationTraits` are optional.
185
+
All properties in `organizationTraits` are optional.
186
186
</Callout>
187
187
188
188
| Property | Type | Description |
189
189
|----------|------|-------------|
190
190
|`displayName`|`String?`| The displayed name of the organization |
191
191
|`domain`|`String?`| The organization's domain |
192
192
|`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 |
194
194
|`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 |
196
196
197
197
#### Account traits
198
198
199
-
The `AccountTraits` class contains detailed information about the account:
199
+
The `accountTraits` map contains detailed information about the account:
200
200
201
201
<Calloutintent="note">
202
-
All properties in `AccountTraits` are optional.
202
+
All properties in `accountTraits` are optional.
203
203
</Callout>
204
204
205
205
| Property | Type | Description |
206
206
|----------|------|-------------|
207
207
|`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 |
209
209
|`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 |
212
212
|`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 |
0 commit comments