toJson method

Map<String, dynamic> toJson()
override

Implementation

Map<String, dynamic> toJson() {
  final Map<String, dynamic> data = new Map<String, dynamic>();
  data['lastUpdated'] = this.lastUpdated;
  data['id'] = this.id;
  data['created'] = this.created;
  data['name'] = this.name;
  data['subject'] = this.subject;
  data['displayName'] = this.displayName;
  data['status'] = this.status;
  data['messageType'] = this.messageType;
  data['read'] = this.read;
  data['lastMessage'] = this.lastMessage;
  data['dirty'] = this.dirty;

  return data;
}