isDataTypeAvailable method

bool isDataTypeAvailable(
  1. DataType type
)

Verify if a data type is recorded in the log file.

Parameters

  • IN type The type to verify if available.

Returns

  • True if data type is available, false otherwise.

Throws

  • An exception if it fails

Implementation

bool isDataTypeAvailable(final DataType type) {
  final OperationResult resultString = objectMethod(
    _pointerId,
    'LogMetadata',
    'isDataTypeAvailable',
    args: type.id,
  );
  return resultString['result'];
}