copyWith method
Implementation
GridEntity copyWith({
String? documentID,
String? appId,
String? description,
List<BodyComponentEntity>? bodyComponents,
String? gridViewId,
StorageConditionsEntity? conditions,
}) {
return GridEntity(
appId: appId ?? this.appId,
description: description ?? this.description,
bodyComponents: bodyComponents ?? this.bodyComponents,
gridViewId: gridViewId ?? this.gridViewId,
conditions: conditions ?? this.conditions,
);
}