seal method

void seal()

Set a sealed state, where we can't do any type of modification to this Line instance

Implementation

void seal() {
  _sealed = true;
}