copyWith method

CreditDocumentMetadata copyWith({
  1. String? name,
  2. String? documentType,
  3. String? downloadUrl,
  4. String? status,
})

Implementation

CreditDocumentMetadata copyWith(
    {String? name,
    String? documentType,
    String? downloadUrl,
    String? status}) {
  return CreditDocumentMetadata(
      name: name ?? this.name,
      documentType: documentType ?? this.documentType,
      downloadUrl: downloadUrl ?? this.downloadUrl,
      status: status ?? this.status);
}