toJson method
Allows you to serialize object.
Implementation
Map<String, dynamic> toJson() => {
"fileData": fileData?.toJson(),
"fileID": fileID,
"notifications": notifications,
"pAStatus": pAStatus.value,
"readingStatus": readingStatus.value,
"readingTime": readingTime,
"type": type.value,
"typeName": typeName,
"docFieldsText": docFieldsText,
"docFieldsGraphics": docFieldsGraphics,
"docFieldsOriginals": docFieldsOriginals,
"certificates": certificates?.toJson(),
}.clearNulls();