copyWith method

  1. @internal
HtmlEditorValue copyWith({
  1. String? html,
  2. EditorSelectionState? selectionState,
})

Implementation

@internal
HtmlEditorValue copyWith({
  String? html,
  EditorSelectionState? selectionState,
}) {
  return HtmlEditorValue._(
    html: html ?? this.html,
    selectionState: selectionState ?? _selectionState,
  );
}