availableDataTypes property

List<DataType> get availableDataTypes

Get a list of the available data types.

This method helps in identifying all the types of data that are accessible in the log.

Returns

  • A list of data types that have been recorded in the log file

Throws

  • An exception if it fails

Implementation

List<DataType> get availableDataTypes {
  final OperationResult resultString = objectMethod(
    _pointerId,
    'LogMetadata',
    'getAvailableDataTypes',
  );
  final List<dynamic> res = resultString['result'];
  return res.map((final dynamic e) => DataTypeExtension.fromId(e)).toList();
}