copyWith method

ImageResponse copyWith({
  1. String? err,
  2. Map<String, String>? imageFills,
  3. Map<String, String>? images,
  4. int? status,
})

Implementation

ImageResponse copyWith({
  String? err,
  Map<String, String>? imageFills,
  Map<String, String>? images,
  int? status,
}) {
  return ImageResponse(
    err: err ?? this.err,
    imageFills: imageFills ?? this.imageFills,
    images: images ?? this.images,
    status: status ?? this.status,
  );
}