getHighlightGroupItemIndex method
Get group highlighted item index for the given highlighted item index (in original list)
Parameters
- IN idx The highlighted item index in original list for which the group head is searched.
- IN highlightId The highlight collection id (optional).
Returns
- On success, returns the group index in highlighted items original list.
- On error, returns the error code.
Throws
- An exception if it fails.
Implementation
int getHighlightGroupItemIndex(final int idx, {final int highlightId = 0}) {
final OperationResult resultString = objectMethod(
_pointerId,
'MapViewExtensions',
'getHighlightGroupItemIndex',
args: <String, int>{
'idx': idx,
'highlightId': highlightId,
},
);
return resultString['result'];
}