copyWith method
GridModel
copyWith({
- String? documentID,
- String? appId,
- String? description,
- List<
BodyComponentModel> ? bodyComponents, - GridViewModel? gridView,
- StorageConditionsModel? conditions,
override
Implementation
@override
GridModel copyWith({
String? documentID,
String? appId,
String? description,
List<BodyComponentModel>? bodyComponents,
GridViewModel? gridView,
StorageConditionsModel? conditions,
}) {
return GridModel(
documentID: documentID ?? this.documentID,
appId: appId ?? this.appId,
description: description ?? this.description,
bodyComponents: bodyComponents ?? this.bodyComponents,
gridView: gridView ?? this.gridView,
conditions: conditions ?? this.conditions,
);
}