toCompanion method
- bool nullToAbsent
Implementation
WindowRectanglesCompanion toCompanion(bool nullToAbsent) {
return WindowRectanglesCompanion(
id: Value(id),
width: width == null && nullToAbsent
? const Value.absent()
: Value(width),
height: height == null && nullToAbsent
? const Value.absent()
: Value(height),
dx: dx == null && nullToAbsent ? const Value.absent() : Value(dx),
dy: dy == null && nullToAbsent ? const Value.absent() : Value(dy),
);
}