copyWith method

InputIdentityDocument copyWith({
  1. String? number,
  2. Date? expiryDate,
  3. InputFile? frontSide,
  4. InputFile? reverseSide,
  5. InputFile? selfie,
  6. List<InputFile>? translation,
})

Implementation

InputIdentityDocument copyWith({
  String? number,
  Date? expiryDate,
  InputFile? frontSide,
  InputFile? reverseSide,
  InputFile? selfie,
  List<InputFile>? translation,
}) => InputIdentityDocument(
  number: number ?? this.number,
  expiryDate: expiryDate ?? this.expiryDate,
  frontSide: frontSide ?? this.frontSide,
  reverseSide: reverseSide ?? this.reverseSide,
  selfie: selfie ?? this.selfie,
  translation: translation ?? this.translation,
);