mapify function

Map mapify(
  1. JsObject obj
)

Converts JS object to Map

Implementation

Map mapify(JsObject obj) {
  return jsonDecode(context['JSON'].callMethod('stringify', [obj]));
}