copyWith method

AppPolicyEntity copyWith({
  1. String? documentID,
  2. String? appId,
  3. String? name,
  4. String? policyId,
  5. StorageConditionsEntity? conditions,
})

Implementation

AppPolicyEntity copyWith({
  String? documentID,
  String? appId,
  String? name,
  String? policyId,
  StorageConditionsEntity? conditions,
}) {
  return AppPolicyEntity(
    appId: appId ?? this.appId,
    name: name ?? this.name,
    policyId: policyId ?? this.policyId,
    conditions: conditions ?? this.conditions,
  );
}