CreateInlineCommentModelInlineCommentProperties class
Object describing the text to highlight on the page/blog post. Only applicable for top level inline comments (not replies) and required in that case.
Constructors
- CreateInlineCommentModelInlineCommentProperties({String? textSelection, int? textSelectionMatchCount, int? textSelectionMatchIndex})
-
CreateInlineCommentModelInlineCommentProperties.fromJson(Map<
String, Object?> json) -
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- textSelection → String?
-
The text to highlight
final
- textSelectionMatchCount → int?
-
The number of matches for the selected text on the page (should be
strictly greater than textSelectionMatchIndex)
final
- textSelectionMatchIndex → int?
-
The match index to highlight. This is zero-based. E.g. if you have 3
occurrences of "hello world" on a page
and you want to highlight the second occurrence, you should pass 1 for
textSelectionMatchIndex and 3 for textSelectionMatchCount.
final
Methods
-
copyWith(
{String? textSelection, int? textSelectionMatchCount, int? textSelectionMatchIndex}) → CreateInlineCommentModelInlineCommentProperties -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, Object?> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited