toJson method
Implementation
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
json[r'date'] = this.date.toUtc().toIso8601String();
if (this.username != null) {
json[r'username'] = this.username;
} else {
json[r'username'] = null;
}
json[r'actionName'] = this.actionName;
json[r'messageHTML'] = this.messageHTML;
return json;
}