sourceType property

DataSourceType get sourceType

Retrieves the method used to obtain the position data.

Returns

  • The data source type

Throws

  • An exception if it fails

Implementation

DataSourceType get sourceType {
  final OperationResult resultString = objectMethod(
    0,
    'PositionService',
    'getSourceType',
  );

  return DataSourceTypeExtension.fromId(resultString['result']);
}