Constructs a Line instance with optional initial data and attributes.
data
attributes
Line({ this.data, this.attributes, });