setData method

void setData(
  1. Object? data
)

Sets the data object of the line to data.

Implementation

void setData(Object? data) {
  this.data = data;
}