copyWith method

MembershipDashboardEntity copyWith({
  1. String? documentID,
  2. String? appId,
  3. String? description,
  4. List<MemberActionEntity>? memberActions,
  5. StorageConditionsEntity? conditions,
})

Implementation

MembershipDashboardEntity copyWith({
  String? documentID,
  String? appId,
  String? description,
  List<MemberActionEntity>? memberActions,
  StorageConditionsEntity? conditions,
}) {
  return MembershipDashboardEntity(
    appId: appId ?? this.appId,
    description: description ?? this.description,
    memberActions: memberActions ?? this.memberActions,
    conditions: conditions ?? this.conditions,
  );
}