CommentThread constructor

CommentThread({
  1. Uri? uri,
  2. Range? range,
  3. List<Comment>? comments,
  4. CommentThreadCollapsibleState? collapsibleState,
  5. bool? canReply,
  6. String? contextValue,
  7. String? label,
  8. CommentThreadState? state,
  9. void dispose()?,
})

Implementation

factory CommentThread({
  _i3.Uri? uri,
  _i3.Range? range,
  _i2.List<_i3.Comment>? comments,
  _i3.CommentThreadCollapsibleState? collapsibleState,
  _i2.bool? canReply,
  _i2.String? contextValue,
  _i2.String? label,
  _i3.CommentThreadState? state,
  void Function()? dispose,
}) =>
    CommentThread._(
      uri: uri ?? _i6.undefined,
      range: range ?? _i6.undefined,
      comments: comments ?? _i6.undefined,
      collapsibleState: collapsibleState?.name,
      canReply: canReply,
      contextValue: contextValue,
      label: label,
      state: state?.name,
      dispose: dispose == null ? null : _i5.allowInterop(dispose),
    );