copyWith method

  1. @override
ChatDashboardModel copyWith({
  1. String? documentID,
  2. String? appId,
  3. String? description,
  4. StorageConditionsModel? conditions,
  5. MembersType? membersType,
})
override

Implementation

@override
ChatDashboardModel copyWith({
  String? documentID,
  String? appId,
  String? description,
  StorageConditionsModel? conditions,
  MembersType? membersType,
}) {
  return ChatDashboardModel(
    documentID: documentID ?? this.documentID,
    appId: appId ?? this.appId,
    description: description ?? this.description,
    conditions: conditions ?? this.conditions,
    membersType: membersType ?? this.membersType,
  );
}