toModel method

Segment toModel()

Implementation

Segment toModel() => Segment(text: text, metadata: metadata);