copyWith method

  1. @override
FollowingDashboardModel copyWith({
  1. String? documentID,
  2. String? appId,
  3. String? description,
  4. FollowingView? view,
  5. List<MemberActionModel>? memberActions,
  6. StorageConditionsModel? conditions,
})
override

Implementation

@override
FollowingDashboardModel copyWith({
  String? documentID,
  String? appId,
  String? description,
  FollowingView? view,
  List<MemberActionModel>? memberActions,
  StorageConditionsModel? conditions,
}) {
  return FollowingDashboardModel(
    documentID: documentID ?? this.documentID,
    appId: appId ?? this.appId,
    description: description ?? this.description,
    view: view ?? this.view,
    memberActions: memberActions ?? this.memberActions,
    conditions: conditions ?? this.conditions,
  );
}