copyWith method
AppPolicyModel
copyWith({
- String? documentID,
- String? appId,
- String? name,
- PlatformMediumModel? policy,
- StorageConditionsModel? conditions,
override
Implementation
@override
AppPolicyModel copyWith({
String? documentID,
String? appId,
String? name,
PlatformMediumModel? policy,
StorageConditionsModel? conditions,
}) {
return AppPolicyModel(
documentID: documentID ?? this.documentID,
appId: appId ?? this.appId,
name: name ?? this.name,
policy: policy ?? this.policy,
conditions: conditions ?? this.conditions,
);
}