removeDataSource static method

void removeDataSource()

Removes the position service's current data source (sets it to none).

Implementation

static void removeDataSource() {
  GemKitPlatform.instance.callObjectMethod(<String, Object>{
    'id': 0,
    'class': 'PositionService',
    'method': 'selectPositionDataSource',
    'senseDataSourceType': 'none',
  });
}