setBaseData method

void setBaseData(
  1. String id,
  2. String title,
  3. Offset widgetOffset
)

Used for deserializing

Sets base node data id and offset

Implementation

void setBaseData(
  String id,
  String title,
  Offset widgetOffset,
) {
  _id = id;
  _title = title;
  this.widgetOffset = widgetOffset;
}