getTypeHierarchy method
Return the type hierarchy of the class declared or referenced at the given location.
Implementation
Future<TypeHierarchyResult> getTypeHierarchy(String? file, int? offset,
{bool? superOnly}) {
final Map m = {'file': file, 'offset': offset};
if (superOnly != null) m['superOnly'] = superOnly;
return _call('search.getTypeHierarchy', m).then(TypeHierarchyResult.parse);
}