copyWith method
A copy of this value with the given members replaced.
Implementation
PremultipliedRgba8Image copyWith({
int? width,
int? height,
int? stride,
Uint8List? pixels,
}) => PremultipliedRgba8Image(
width: width ?? this.width,
height: height ?? this.height,
stride: stride ?? this.stride,
pixels: pixels ?? this.pixels,
);