Skip to content

Commit

Permalink
Fix #150 - include nested objects in mapToJSObj (#151)
Browse files Browse the repository at this point in the history
  • Loading branch information
jtothebell authored Jul 24, 2023
1 parent d3d3c69 commit 5d2a586
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/amplitude_web.dart
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ class AmplitudeFlutterPlugin {
var object = js.newObject();
map.forEach((k, v) {
var key = k;
var value = v;
var value = (v is Map) ? mapToJSObj(v) : v;
js.setProperty(object, key, value);
});
return object;
Expand Down

0 comments on commit 5d2a586

Please sign in to comment.