copyWith method

ChatDashboardEntity copyWith({
  1. String? documentID,
  2. String? appId,
  3. String? description,
  4. StorageConditionsEntity? conditions,
  5. int? membersType,
})

Implementation

ChatDashboardEntity copyWith({
  String? documentID,
  String? appId,
  String? description,
  StorageConditionsEntity? conditions,
  int? membersType,
}) {
  return ChatDashboardEntity(
    appId: appId ?? this.appId,
    description: description ?? this.description,
    conditions: conditions ?? this.conditions,
    membersType: membersType ?? this.membersType,
  );
}