copyWith method

CreateInlineCommentModelInlineCommentProperties copyWith({
  1. String? textSelection,
  2. int? textSelectionMatchCount,
  3. int? textSelectionMatchIndex,
})

Implementation

CreateInlineCommentModelInlineCommentProperties copyWith(
    {String? textSelection,
    int? textSelectionMatchCount,
    int? textSelectionMatchIndex}) {
  return CreateInlineCommentModelInlineCommentProperties(
    textSelection: textSelection ?? this.textSelection,
    textSelectionMatchCount:
        textSelectionMatchCount ?? this.textSelectionMatchCount,
    textSelectionMatchIndex:
        textSelectionMatchIndex ?? this.textSelectionMatchIndex,
  );
}