MessageObject.fromJson(Map<String, dynamic> json) { content = json['content'] != null ? Content.fromJson(json['content']) : null; reference = json['reference']; }