copyWith method
AiImage
copyWith({
- String? imageId,
- String? imageName,
- String? claimId,
- String? url,
- List<
double> ? imageSize, - String? partDirectionName,
- String? imageRangeName,
- String? totalItem,
- bool? damageExist,
- List<
MaskData> ? damageMasks, - List<
PartsMask> ? partsMasks, - bool? deletedFlag,
- DateTime? createdDate,
- DateTime? updatedDate,
- String? createdBy,
- double? timeProcess,
- List<
String> ? errorType, - String? errorNote,
Implementation
AiImage copyWith({
String? imageId,
String? imageName,
String? claimId,
String? url,
List<double>? imageSize,
String? partDirectionName,
String? imageRangeName,
String? totalItem,
bool? damageExist,
List<MaskData>? damageMasks,
List<PartsMask>? partsMasks,
bool? deletedFlag,
DateTime? createdDate,
DateTime? updatedDate,
String? createdBy,
double? timeProcess,
List<String>? errorType,
String? errorNote,
}) =>
AiImage(
imageId: imageId ?? this.imageId,
imageName: imageName ?? this.imageName,
claimId: claimId ?? this.claimId,
url: url ?? this.url,
imageSize: imageSize ?? this.imageSize,
partDirectionName: partDirectionName ?? this.partDirectionName,
imageRangeName: imageRangeName ?? this.imageRangeName,
totalItem: totalItem ?? this.totalItem,
damageExist: damageExist ?? this.damageExist,
damageMasks: damageMasks ?? this.damageMasks,
partsMasks: partsMasks ?? this.partsMasks,
deletedFlag: deletedFlag ?? this.deletedFlag,
createdDate: createdDate ?? this.createdDate,
updatedDate: updatedDate ?? this.updatedDate,
createdBy: createdBy ?? this.createdBy,
errorNote: errorNote ?? this.errorNote,
timeProcess: timeProcess ?? this.timeProcess,
errorType: errorType ?? this.errorType,
);