copyWith method

Flag copyWith({
  1. int? id,
  2. Feature? feature,
  3. String? stateValue,
  4. bool? enabled,
  5. int? environment,
  6. int? identity,
  7. int? featureSegment,
})

Implementation

Flag copyWith(
        {int? id,
        Feature? feature,
        String? stateValue,
        bool? enabled,
        int? environment,
        int? identity,
        int? featureSegment}) =>
    Flag(
      id: id ?? this.id,
      feature: feature ?? this.feature,
      stateValue: stateValue ?? this.stateValue,
      enabled: enabled ?? this.enabled,
      environment: environment ?? this.environment,
      identity: identity ?? this.identity,
      featureSegment: featureSegment ?? this.featureSegment,
    );