isDataTypeAvailable method

bool isDataTypeAvailable(
  1. DataType dataType
)

Check whether the data source produces a specific data type.

Parameters

  • dataType: The DataType to check for availability.

Returns

  • bool: True if the data type is available, false otherwise.

See also:

Implementation

bool isDataTypeAvailable(final DataType dataType) {
  final OperationResult resultString = objectMethod(
    pointerId,
    'DataSourceContainer',
    'isDataTypeAvailable',
    args: dataType.id,
  );

  return resultString['result'];
}