getCoordinates method
- int index
Get the coordinates specified by index.
Parameters
- IN index - Index of entrance location for which the coordinates will be returned.
Returns
- Coordinates - Coordinates of the entrance location specified by index.
Throws
- An exception if it fails.
Implementation
Coordinates getCoordinates(final int index) {
final OperationResult resultString = objectMethod(
_id,
'EntranceLocations',
'getCoordinates',
args: index,
);
return Coordinates.fromJson(resultString['result']);
}