class SystemMessageDetailModel { int id; String title; String content; SystemMessageDetailModel({this.id, this.title, this.content}); SystemMessageDetailModel.fromJson(Map json) { id = json['id']; title = json['title']; content = json['content']; } Map toJson() { final Map data = new Map(); data['id'] = this.id; data['title'] = this.title; data['content'] = this.content; return data; } }