copyWith method

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

Implementation

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