toJson method
Implementation
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
json[r'id'] = this.id;
json[r'tag'] = this.tag;
if (this.rawTag != null) {
json[r'rawTag'] = this.rawTag;
} else {
json[r'rawTag'] = null;
}
if (this.type != null) {
json[r'type'] = this.type;
} else {
json[r'type'] = null;
}
if (this.sent != null) {
json[r'sent'] = this.sent;
} else {
json[r'sent'] = null;
}
return json;
}