SemanticsVerificationReport class

Report of the document value semantics verification.

Constructors

SemanticsVerificationReport({required bool overallInvalidSemantics, required CompositeFieldValueSemantics expiryDateSemantics, required CompositeFieldValueSemantics issueDateSemantics, required CompositeFieldValueSemantics birthDateSemantics, required ValueSemantics issueDateBeforeExpiryDate, required ValueSemantics birthDateBeforeIssueDate, required ValueSemantics birthDateBeforeExpiryDate})
SemanticsVerificationReport.fromJson(Map<String, dynamic> json)
factory

Properties

birthDateBeforeExpiryDate ValueSemantics
Result of verification whether the birth date is before the expiry date.
final
birthDateBeforeIssueDate ValueSemantics
Result of verification whether the birth date is before the issue date.
final
birthDateSemantics CompositeFieldValueSemantics
Status of the birth date semantics verification. Shows whether the birth date in the document is in the past.
final
expiryDateSemantics CompositeFieldValueSemantics
Status of the expiry date semantics verification. Shows whether the expiry date in the document is in the future.
final
hashCode int
The hash code for this object.
no setterinherited
issueDateBeforeExpiryDate ValueSemantics
Result of verification whether the issue date is before the expiry date.
final
issueDateSemantics CompositeFieldValueSemantics
Status of the issue date semantics verification. Shows whether the issue date in the document is in the past.
final
overallInvalidSemantics bool
Overall status of the value semantics verification. Corresponds to the most severe status of all fields, i.e. if at least one field is semantically incorrect, the overall status is semantically incorrect. If some verifications are skipped, they do not impact the overall status.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson({ToJsonConfiguration? config}) Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited