jsObjectToMap static method

Map jsObjectToMap(
  1. dynamic obj
)

Implementation

static Map jsObjectToMap(dynamic obj) {
  String resultStr = ZIM.toJSON(obj);

  Map resultMap = jsonDecode(resultStr);

  return resultMap;
}