isDataTypeAvailable method

bool isDataTypeAvailable(
  1. DataType type
)

Checks whether a given data type exists in the log.

Parameters

  • type: The DataType to check for availability in the recorded log.

Returns

  • true if the data type is present in the log, otherwise false.

Implementation

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