getHover method

Future<HoverResult> getHover(
  1. String? file,
  2. int? offset
)

Return the hover information associate with the given location. If some or all of the hover information is not available at the time this request is processed the information will be omitted from the response.

Implementation

Future<HoverResult> getHover(String? file, int? offset) {
  final Map m = {'file': file, 'offset': offset};
  return _call('analysis.getHover', m).then(HoverResult.parse);
}