copyWith method
ImgurUploadData
copyWith({
- String? id,
- String? deletehash,
- dynamic accountId,
- dynamic accountUrl,
- dynamic adType,
- dynamic adUrl,
- dynamic title,
- dynamic description,
- String? name,
- String? type,
- int? width,
- int? height,
- int? size,
- int? views,
- dynamic section,
- dynamic vote,
- int? bandwidth,
- bool? animated,
- bool? favorite,
- bool? inGallery,
- bool? inMostViral,
- bool? hasSound,
- bool? isAd,
- dynamic nsfw,
- String? link,
- List? tags,
- int? datetime,
- String? mp4,
- String? hls,
Implementation
ImgurUploadData copyWith({
String? id,
String? deletehash,
dynamic accountId,
dynamic accountUrl,
dynamic adType,
dynamic adUrl,
dynamic title,
dynamic description,
String? name,
String? type,
int? width,
int? height,
int? size,
int? views,
dynamic section,
dynamic vote,
int? bandwidth,
bool? animated,
bool? favorite,
bool? inGallery,
bool? inMostViral,
bool? hasSound,
bool? isAd,
dynamic nsfw,
String? link,
List<dynamic>? tags,
int? datetime,
String? mp4,
String? hls,
}) =>
ImgurUploadData(
id: id ?? this.id,
deletehash: deletehash ?? this.deletehash,
accountId: accountId ?? this.accountId,
accountUrl: accountUrl ?? this.accountUrl,
adType: adType ?? this.adType,
adUrl: adUrl ?? this.adUrl,
title: title ?? this.title,
description: description ?? this.description,
name: name ?? this.name,
type: type ?? this.type,
width: width ?? this.width,
height: height ?? this.height,
size: size ?? this.size,
views: views ?? this.views,
section: section ?? this.section,
vote: vote ?? this.vote,
bandwidth: bandwidth ?? this.bandwidth,
animated: animated ?? this.animated,
favorite: favorite ?? this.favorite,
inGallery: inGallery ?? this.inGallery,
inMostViral: inMostViral ?? this.inMostViral,
hasSound: hasSound ?? this.hasSound,
isAd: isAd ?? this.isAd,
nsfw: nsfw ?? this.nsfw,
link: link ?? this.link,
tags: tags ?? this.tags,
datetime: datetime ?? this.datetime,
mp4: mp4 ?? this.mp4,
hls: hls ?? this.hls,
);