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['displayName'] = this.displayName;
  data['dirty'] = this.dirty;
  data['text'] = this.text;
  data['sender'] = this.sender;
  data['messageConversation'] = this.messageConversation;

  return data;
}