SearchGetTypeHierarchyParams class

search.getTypeHierarchy params

{ "file": FilePath "offset": int "superOnly": optional bool }

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

Constructors

SearchGetTypeHierarchyParams(String file, int offset, {bool? superOnly})
SearchGetTypeHierarchyParams.fromJson(JsonDecoder jsonDecoder, String jsonPath, Object? json)
factory
SearchGetTypeHierarchyParams.fromRequest(Request request)
factory

Properties

file String
The file containing the declaration or reference to the type for which a hierarchy is being requested.
getter/setter pair
hashCode int
The hash code for this object.
no setteroverride
offset int
The offset of the name of the type within the file.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
superOnly bool?
True if the client is only requesting superclasses and interfaces hierarchy.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, Object>
Returns a JSON presentation of the object.
toRequest(String id) Request
Return a request whose parameters are taken from this object and that has the given id.
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
override