CamsDataTypeMetaData constructor

CamsDataTypeMetaData({
  1. required String type,
  2. String displayName = '',
  3. DataTimeType timeType = DataTimeType.POINT,
  4. DataEventType dataEventType = DataEventType.EVENT,
  5. List<Permission> permissions = const [],
})

Create a new description of a data type with some displayName. Default timeType is DataTimeType.POINT, default dataEventType is DataEventType.EVENT, and default permissions is empty (no permissions required).

Implementation

CamsDataTypeMetaData({
  required super.type,
  super.displayName,
  super.timeType,
  this.dataEventType = DataEventType.EVENT,
  this.permissions = const [],
});