HighlightRegion class
HighlightRegion
{ "type": HighlightRegionType "offset": int "length": int }
Clients may not extend, implement or mix-in this class.
Constructors
- HighlightRegion(HighlightRegionType type, int offset, int length)
- HighlightRegion.fromJson(JsonDecoder jsonDecoder, String jsonPath, Object? json, {ClientUriConverter? clientUriConverter})
-
factory
Properties
- hashCode → int
-
The hash code for this object.
no setteroverride
- length ↔ int
-
The length of the region to be highlighted.
getter/setter pair
- offset ↔ int
-
The offset of the region to be highlighted.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- type ↔ HighlightRegionType
-
The type of highlight associated with the region.
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
{ClientUriConverter? clientUriConverter}) → Map< String, Object> - Returns a JSON presentation of the object.
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override