toJson method
Implementation
Map<String, dynamic> toJson() {
return {
'difficult_to_read': difficultToRead,
'entire_document_not_in_frame': entireDocumentNotInFrame,
'document_type': documentType,
'address_quality': addressQuality?.toString().split('.').last,
'gps_matches_document': gpsMatchesDocument,
};
}