dataSource property

DataSource get dataSource

Gets the data source used for recording.

This defines the source providing the data to be recorded.

Implementation

DataSource get dataSource {
  final OperationResult resultString = objectMethod(
    pointerId,
    'RecorderConfiguration',
    'getDataSource',
  );
  return DataSource.init(resultString['result']);
}
set dataSource (DataSource dataSource)

Sets the data source used for recording.

This defines the source providing the data to be recorded.

Implementation

set dataSource(final DataSource dataSource) {
  objectMethod(
    pointerId,
    'RecorderConfiguration',
    'setDataSource',
    args: dataSource.pointerId,
  );
}