fetchVersions method

Future<List<ServiceVersionInfo>> fetchVersions()

Gets a list of all versions on the service.

If the service isn't branch versioned, an ArcGISExceptionType.mappingBranchVersioningNotSupportedByService is thrown.

Return Value: A Future that returns a List containing all visible versions on the service.