copyWith method
DVImage
copyWith({
- DVImageSource? source,
- String? reference,
- String? alt,
- int? width,
- int? height,
Implementation
DVImage copyWith({
DVImageSource? source,
String? reference,
String? alt,
int? width,
int? height,
}) {
return DVImage(
source: source ?? this.source,
reference: reference ?? this.reference,
alt: alt ?? this.alt,
width: width ?? this.width,
height: height ?? this.height,
);
}