copyWith method

SimpleImageEntity copyWith({
  1. String? documentID,
  2. String? appId,
  3. String? description,
  4. String? imageId,
  5. StorageConditionsEntity? conditions,
})

Implementation

SimpleImageEntity copyWith({
  String? documentID,
  String? appId,
  String? description,
  String? imageId,
  StorageConditionsEntity? conditions,
}) {
  return SimpleImageEntity(
    appId: appId ?? this.appId,
    description: description ?? this.description,
    imageId: imageId ?? this.imageId,
    conditions: conditions ?? this.conditions,
  );
}