copyWith method

  1. @override
SimpleImageModel copyWith({
  1. String? documentID,
  2. String? appId,
  3. String? description,
  4. PlatformMediumModel? image,
  5. StorageConditionsModel? conditions,
})
override

Implementation

@override
SimpleImageModel copyWith({
  String? documentID,
  String? appId,
  String? description,
  PlatformMediumModel? image,
  StorageConditionsModel? conditions,
}) {
  return SimpleImageModel(
    documentID: documentID ?? this.documentID,
    appId: appId ?? this.appId,
    description: description ?? this.description,
    image: image ?? this.image,
    conditions: conditions ?? this.conditions,
  );
}