jsObjectToJsonString function
Implementation
String? jsObjectToJsonString(dynamic obj) { //LegacyJavaScriptObject
if (obj == null) return null;
return context['JSON'].callMethod('stringify', [obj]);
}
String? jsObjectToJsonString(dynamic obj) { //LegacyJavaScriptObject
if (obj == null) return null;
return context['JSON'].callMethod('stringify', [obj]);
}