copyWith method
DocumentData
copyWith(
{ - String? usersDocumentID,
- String? type,
- String? masterUserId,
- String? documentNumber,
- String? documentTypeID,
- String? documentType,
- String? documentPhotoFront,
- String? documentPhotoFrontName,
- String? documentPhotoBack,
- 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,
);