# copyWith method Null safety

1. @override

ActionEntity copyWith(

1. {String? appId,
2. DisplayConditionsEntity? conditions,
3. String? toAppID}

)
override

## Implementation

    @override
    ActionEntity copyWith(
        {String? appId, DisplayConditionsEntity? conditions, String? toAppID}) {
      return SwitchAppEntity(appId ?? appID,
          conditions: conditions ?? this.conditions,
          toAppID: toAppID ?? this.toAppID);
    }