Skip to content

Commit af591fe

Browse files
fix field expansion
1 parent 4b08f02 commit af591fe

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

lib/src/utils/expandable_fields/customer_expandable_field.dart

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,7 @@ class CustomerExpandableField extends ExpandableObjectField<Customer> {
88
const CustomerExpandableField();
99

1010
@override
11-
Customer parse(Map<String, dynamic> object) =>
12-
Customer.fromJson(object[field]);
11+
Customer parse(Map<String, dynamic> object) => Customer.fromJson(object);
1312

1413
@override
1514
String replacement(Customer parsedValue) => parsedValue.id;

0 commit comments

Comments
 (0)