copyWith method
Implementation
ProjectFeature copyWith(
{String? feature,
String? imageUri,
String? localisedDescription,
String? localisedName,
List<String>? prerequisites,
int? projectId,
ProjectFeatureStateEnum? state,
bool? toggleLocked}) {
return ProjectFeature(
feature: feature ?? this.feature,
imageUri: imageUri ?? this.imageUri,
localisedDescription: localisedDescription ?? this.localisedDescription,
localisedName: localisedName ?? this.localisedName,
prerequisites: prerequisites ?? this.prerequisites,
projectId: projectId ?? this.projectId,
state: state ?? this.state,
toggleLocked: toggleLocked ?? this.toggleLocked,
);
}