copyWith method

  1. @override
PolicyPresentationModel copyWith({
  1. String? documentID,
  2. String? appId,
  3. String? description,
  4. AppPolicyModel? policies,
  5. StorageConditionsModel? conditions,
})
override

Implementation

@override
PolicyPresentationModel copyWith({
  String? documentID,
  String? appId,
  String? description,
  AppPolicyModel? policies,
  StorageConditionsModel? conditions,
}) {
  return PolicyPresentationModel(
    documentID: documentID ?? this.documentID,
    appId: appId ?? this.appId,
    description: description ?? this.description,
    policies: policies ?? this.policies,
    conditions: conditions ?? this.conditions,
  );
}