copyWith method
Implementation
IdentityDocument copyWith({
String? number,
Date? expiryDate,
DatedFile? frontSide,
DatedFile? reverseSide,
DatedFile? selfie,
List<DatedFile>? translation,
}) => IdentityDocument(
number: number ?? this.number,
expiryDate: expiryDate ?? this.expiryDate,
frontSide: frontSide ?? this.frontSide,
reverseSide: reverseSide ?? this.reverseSide,
selfie: selfie ?? this.selfie,
translation: translation ?? this.translation,
);