Last updated 3 years ago
Map map = { "wowo":"mantap", }; SegmenSingleModel? segmenSingleModel = SegmenSingleModel(message: 'ok',status: true); segmenSingleModel.toJson().forEach((key, value) { map.addAll(segmenSingleModel.toJson()); }); print(map.toString());