copyWith method

PolicyPresentationEntity copyWith({
  1. String? documentID,
  2. String? appId,
  3. String? description,
  4. String? policiesId,
  5. StorageConditionsEntity? conditions,
})

Implementation

PolicyPresentationEntity copyWith({
  String? documentID,
  String? appId,
  String? description,
  String? policiesId,
  StorageConditionsEntity? conditions,
}) {
  return PolicyPresentationEntity(
    appId: appId ?? this.appId,
    description: description ?? this.description,
    policiesId: policiesId ?? this.policiesId,
    conditions: conditions ?? this.conditions,
  );
}