segments property

List of segments and their associated types.

Implementation

List<SetCompositionParametersSegments>? get segments =>
    _wrapped.segments?.toDart
        .cast<$js.SetCompositionParametersSegments>()
        .map((e) => SetCompositionParametersSegments.fromJS(e))
        .toList();

Implementation

set segments(List<SetCompositionParametersSegments>? v) {
  _wrapped.segments = v?.toJSArray((e) => e.toJS);
}