copyWith method

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

Implementation

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