jsObjToMap function
dynamic
jsObjToMap(
- dynamic object
convert the a javascript object to a valid map
Implementation
dynamic jsObjToMap(dynamic object) {
return jsonDecode(jsonStringify(object));
}