Segment constructor
Segment(
- String content,
- SegmentType type
Implementation
Segment(this.content, this.type) {
_checkForInvalidContents();
}
Segment(this.content, this.type) {
_checkForInvalidContents();
}