copyWith method
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,
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,
);