copyWith method

DocumentDetailData copyWith({
  1. String? usersDocumentID,
  2. String? type,
  3. String? masterUserId,
  4. String? documentNumber,
  5. String? documentTypeID,
  6. String? documentType,
  7. String? documentPhotoFront,
  8. String? documentPhotoFrontFull,
  9. String? documentPhotoFrontName,
  10. String? documentPhotoBack,
  11. String? documentPhotoBackFull,
  12. String? documentPhotoBackName,
})

Implementation

DocumentDetailData copyWith({  String? usersDocumentID,
  String? type,
  String? masterUserId,
  String? documentNumber,
  String? documentTypeID,
  String? documentType,
  String? documentPhotoFront,
  String? documentPhotoFrontFull,
  String? documentPhotoFrontName,
  String? documentPhotoBack,
  String? documentPhotoBackFull,
  String? documentPhotoBackName,
}) => DocumentDetailData(  usersDocumentID: usersDocumentID ?? _usersDocumentID,
  type: type ?? _type,
  masterUserId: masterUserId ?? _masterUserId,
  documentNumber: documentNumber ?? _documentNumber,
  documentTypeID: documentTypeID ?? _documentTypeID,
  documentType: documentType ?? _documentType,
  documentPhotoFront: documentPhotoFront ?? _documentPhotoFront,
  documentPhotoFrontFull: documentPhotoFrontFull ?? _documentPhotoFrontFull,
  documentPhotoFrontName: documentPhotoFrontName ?? _documentPhotoFrontName,
  documentPhotoBack: documentPhotoBack ?? _documentPhotoBack,
  documentPhotoBackFull: documentPhotoBackFull ?? _documentPhotoBackFull,
  documentPhotoBackName: documentPhotoBackName ?? _documentPhotoBackName,
);