routes property
Get access to the collection of visible routes.
Returns
- The routes collection
Implementation
MapViewRoutesCollection get routes {
  if (_routes == null) {
    final OperationResult resultString = objectMethod(
      _pointerId,
      'MapViewPreferences',
      'routes',
      dependencyId: _mapPointerId,
    );
    _routes =
        MapViewRoutesCollection.init(resultString['result'], _mapPointerId);
  }
  return _routes!;
}