import 'package:bbyyy/beans/system_information_bean_entity.dart'; systemInformationBeanEntityFromJson(SystemInformationBeanEntity data, Map json) { if (json['type'] != null) { data.type = json['type'].toString(); } if (json['content'] != null) { data.content = json['content'].toString(); } return data; } Map systemInformationBeanEntityToJson(SystemInformationBeanEntity entity) { final Map data = new Map(); data['type'] = entity.type; data['content'] = entity.content; return data; }