Occurrences class

Occurrences

{
  "element": Element
  "offsets": List<int>
  "length": int
}

Clients may not extend, implement or mix-in this class.

Constructors

Occurrences(Element element, List<int> offsets, int length)
Occurrences.fromJson(JsonDecoder jsonDecoder, String jsonPath, Object? json, {ClientUriConverter? clientUriConverter})
factory

Properties

element ↔ Element
The element that was referenced.
getter/setter pair
hashCode → int
The hash code for this object.
no setteroverride
length ↔ int
The length of the name of the referenced element.
getter/setter pair
offsets ↔ List<int>
The offsets of the name of the referenced element within the file.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

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