isDataTypeAvailable method

bool isDataTypeAvailable(
  1. DataType dataType
)

Test if a data type is provided by the data source.

Parameters

  • IN type The data type.

Returns

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

Throws

  • An exception if it fails

Implementation

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

  return resultString['result'];
}