SearchGetTypeHierarchyResult class

search.getTypeHierarchy result

{ "hierarchyItems": optional List

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

Constructors

SearchGetTypeHierarchyResult({List<TypeHierarchyItem>? hierarchyItems})
SearchGetTypeHierarchyResult.fromJson(JsonDecoder jsonDecoder, String jsonPath, Object? json)
factory
SearchGetTypeHierarchyResult.fromResponse(Response response)
factory

Properties

hashCode int
The hash code for this object.
no setteroverride
hierarchyItems List<TypeHierarchyItem>?
A list of the types in the requested hierarchy. The first element of the list is the item representing the type for which the hierarchy was requested. The index of other elements of the list is unspecified, but correspond to the integers used to reference supertype and subtype items within the items.
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() Map<String, Object>
Returns a JSON presentation of the object.
toResponse(String id) Response
Return a response whose result data is this object for the request with the given id.
toString() String
A string representation of this object.
override

Operators

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