CamsDataTypeMetaData constructor
CamsDataTypeMetaData({
- required String type,
- String displayName = '',
- DataTimeType timeType = DataTimeType.POINT,
- DataEventType dataEventType = DataEventType.EVENT,
- 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 [],
});