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