toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final json = <String, dynamic>{};
    json[r'id'] = this.id;
    json[r'ticketId'] = this.ticketId;
    json[r'attachedAt'] = this.attachedAt.toUtc().toIso8601String();
    json[r'attachmentId'] = this.attachmentId;
    json[r'fileName'] = this.fileName;
    json[r'contentType'] = this.contentType;
    json[r'fileSize'] = this.fileSize;
  return json;
}