copyWith method
DialogEntity
copyWith({
- String? documentID,
- String? appId,
- String? title,
- String? description,
- List<
BodyComponentEntity> ? bodyComponents, - BackgroundEntity? backgroundOverride,
- int? layout,
- bool? includeHeading,
- String? gridViewId,
- StorageConditionsEntity? conditions,
Implementation
DialogEntity copyWith({
String? documentID,
String? appId,
String? title,
String? description,
List<BodyComponentEntity>? bodyComponents,
BackgroundEntity? backgroundOverride,
int? layout,
bool? includeHeading,
String? gridViewId,
StorageConditionsEntity? conditions,
}) {
return DialogEntity(
appId: appId ?? this.appId,
title: title ?? this.title,
description: description ?? this.description,
bodyComponents: bodyComponents ?? this.bodyComponents,
backgroundOverride: backgroundOverride ?? this.backgroundOverride,
layout: layout ?? this.layout,
includeHeading: includeHeading ?? this.includeHeading,
gridViewId: gridViewId ?? this.gridViewId,
conditions: conditions ?? this.conditions,
);
}