toCompanion method
Implementation
ScreenshotImagesCompanion toCompanion(bool nullToAbsent) {
return ScreenshotImagesCompanion(
id: Value(id),
screenshotId: Value(screenshotId),
url: Value(url),
type: type == null && nullToAbsent ? const Value.absent() : Value(type),
width: width == null && nullToAbsent
? const Value.absent()
: Value(width),
height: height == null && nullToAbsent
? const Value.absent()
: Value(height),
);
}