copyWith method

PassportElementDriverLicense copyWith({
  1. IdentityDocument? driverLicense,
})

Implementation

PassportElementDriverLicense copyWith({
  IdentityDocument? driverLicense,
}) =>
    PassportElementDriverLicense(
      driverLicense: driverLicense ?? this.driverLicense,
    );