copyWith method
Feature<T>
copyWith({
- String? key,
- FeatureType? type,
- String? title,
- String? description,
- String? remoteSourceKey,
- T? defaultValue,
Implementation
Feature<T> copyWith({
String? key,
FeatureType? type,
String? title,
String? description,
String? remoteSourceKey,
T? defaultValue,
}) {
return Feature(
key: key ?? this.key,
type: type ?? this.type,
title: title ?? this.title,
description: description ?? this.description,
remoteSourceKey: remoteSourceKey ?? this.remoteSourceKey,
defaultValue: defaultValue ?? this.defaultValue,
);
}