copyWith method

FeatureToggleVO copyWith({
  1. String? uid,
  2. Map<String, String>? parent,
  3. List<FeatureToggleEntryVO>? toggles,
})

Implementation

FeatureToggleVO copyWith({
  String? uid,
  Map<String, String>? parent,
  List<FeatureToggleEntryVO>? toggles,
}) {
  return FeatureToggleVO(
    uid: uid ?? this.uid,
    toggles: toggles ?? this.toggles,
    parent: parent ?? this.parent,
  );
}