copyWith method
Feature
copyWith({
- String? key,
- FeatureType? type,
- FeatureValueType? valueType,
- String? title,
- String? description,
- String? remoteSourceKey,
- Object? value,
- Object? defaultValue,
Implementation
Feature copyWith({
String? key,
FeatureType? type,
FeatureValueType? valueType,
String? title,
String? description,
String? remoteSourceKey,
Object? value,
Object? defaultValue,
}) {
return Feature(
key: key ?? this.key,
type: type ?? this.type,
valueType: valueType ?? this.valueType,
title: title ?? this.title,
description: description ?? this.description,
remoteSourceKey: remoteSourceKey ?? this.remoteSourceKey,
value: value ?? this.value,
defaultValue: defaultValue ?? this.defaultValue,
);
}