copyWith method
DialogModel
copyWith({
- String? documentID,
- String? appId,
- String? title,
- String? description,
- List<
BodyComponentModel> ? bodyComponents, - BackgroundModel? backgroundOverride,
- DialogLayout? layout,
- bool? includeHeading,
- GridViewModel? gridView,
- StorageConditionsModel? conditions,
override
Implementation
@override
DialogModel copyWith({
String? documentID,
String? appId,
String? title,
String? description,
List<BodyComponentModel>? bodyComponents,
BackgroundModel? backgroundOverride,
DialogLayout? layout,
bool? includeHeading,
GridViewModel? gridView,
StorageConditionsModel? conditions,
}) {
return DialogModel(
documentID: documentID ?? this.documentID,
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,
gridView: gridView ?? this.gridView,
conditions: conditions ?? this.conditions,
);
}