copyWith method

  1. @override
MemberDashboardModel copyWith({
  1. String? documentID,
  2. String? appId,
  3. String? description,
  4. String? updateProfileText,
  5. String? retrieveDataText,
  6. String? deleteDataText,
  7. String? retrieveDataEmailSubject,
  8. String? deleteDataEmailSubject,
  9. String? deleteDataEmailMessage,
  10. StorageConditionsModel? conditions,
})
override

Implementation

@override
MemberDashboardModel copyWith({
  String? documentID,
  String? appId,
  String? description,
  String? updateProfileText,
  String? retrieveDataText,
  String? deleteDataText,
  String? retrieveDataEmailSubject,
  String? deleteDataEmailSubject,
  String? deleteDataEmailMessage,
  StorageConditionsModel? conditions,
}) {
  return MemberDashboardModel(
    documentID: documentID ?? this.documentID,
    appId: appId ?? this.appId,
    description: description ?? this.description,
    updateProfileText: updateProfileText ?? this.updateProfileText,
    retrieveDataText: retrieveDataText ?? this.retrieveDataText,
    deleteDataText: deleteDataText ?? this.deleteDataText,
    retrieveDataEmailSubject:
        retrieveDataEmailSubject ?? this.retrieveDataEmailSubject,
    deleteDataEmailSubject:
        deleteDataEmailSubject ?? this.deleteDataEmailSubject,
    deleteDataEmailMessage:
        deleteDataEmailMessage ?? this.deleteDataEmailMessage,
    conditions: conditions ?? this.conditions,
  );
}