import 'package:bbyyy/generated/json/base/json_convert_content.dart'; import 'package:bbyyy/beans/system_information_bean_entity.dart'; SystemInformationBeanEntity $SystemInformationBeanEntityFromJson(Map json) { SystemInformationBeanEntity systemInformationBeanEntity = SystemInformationBeanEntity(); var type = jsonConvert.convert(json['type']); if (type != null) { systemInformationBeanEntity.type = type; } var content = jsonConvert.convert(json['content']); if (content != null) { systemInformationBeanEntity.content = content; } return systemInformationBeanEntity; } Map $SystemInformationBeanEntityToJson(SystemInformationBeanEntity entity) { final Map data = {}; data['type'] = entity.type; data['content'] = entity.content.toJson(); return data; } SystemInformationBeanContent $SystemInformationBeanContentFromJson(Map json) { SystemInformationBeanContent systemInformationBeanContent = SystemInformationBeanContent(); var startTime = jsonConvert.convert(json['start_time']); if (startTime != null) { systemInformationBeanContent.startTime = startTime; } var content = jsonConvert.convert(json['content']); if (content != null) { systemInformationBeanContent.content = content; } return systemInformationBeanContent; } Map $SystemInformationBeanContentToJson(SystemInformationBeanContent entity) { final Map data = {}; data['start_time'] = entity.startTime; data['content'] = entity.content; return data; }