copyWith method
FeatureResponseBeanFeaturesItem
copyWith({
- FeatureResponseBeanFeaturesItemBoardFeature? boardFeature,
- int? boardId,
- FeatureResponseBeanFeaturesItemState? state,
- String? localisedName,
- String? localisedDescription,
- String? learnMoreLink,
- String? imageUri,
- FeatureResponseBeanFeaturesItemFeatureType? featureType,
- String? localisedGroup,
- List<
FeatureResponseBeanFeaturesItemPermissibleEstimationTypesItem> ? permissibleEstimationTypes, - String? featureId,
- String? learnMoreArticleId,
- bool? toggleLocked,
Implementation
FeatureResponseBeanFeaturesItem copyWith(
{FeatureResponseBeanFeaturesItemBoardFeature? boardFeature,
int? boardId,
FeatureResponseBeanFeaturesItemState? state,
String? localisedName,
String? localisedDescription,
String? learnMoreLink,
String? imageUri,
FeatureResponseBeanFeaturesItemFeatureType? featureType,
String? localisedGroup,
List<FeatureResponseBeanFeaturesItemPermissibleEstimationTypesItem>?
permissibleEstimationTypes,
String? featureId,
String? learnMoreArticleId,
bool? toggleLocked}) {
return FeatureResponseBeanFeaturesItem(
boardFeature: boardFeature ?? this.boardFeature,
boardId: boardId ?? this.boardId,
state: state ?? this.state,
localisedName: localisedName ?? this.localisedName,
localisedDescription: localisedDescription ?? this.localisedDescription,
learnMoreLink: learnMoreLink ?? this.learnMoreLink,
imageUri: imageUri ?? this.imageUri,
featureType: featureType ?? this.featureType,
localisedGroup: localisedGroup ?? this.localisedGroup,
permissibleEstimationTypes:
permissibleEstimationTypes ?? this.permissibleEstimationTypes,
featureId: featureId ?? this.featureId,
learnMoreArticleId: learnMoreArticleId ?? this.learnMoreArticleId,
toggleLocked: toggleLocked ?? this.toggleLocked,
);
}