CamsDataTypeMetaData.fromDataTypeMetaData constructor
CamsDataTypeMetaData.fromDataTypeMetaData({
- required DataTypeMetaData dataTypeMetaData,
- DataEventType dataEventType = DataEventType.EVENT,
- List<
Permission> permissions = const [],
Create a new description of a data type based on the dataTypeMetaData
.
Default dataEventType
is DataEventType.EVENT, and
default permissions
is empty (no permissions required).
Implementation
CamsDataTypeMetaData.fromDataTypeMetaData({
required DataTypeMetaData dataTypeMetaData,
this.dataEventType = DataEventType.EVENT,
this.permissions = const [],
}) : super(
type: dataTypeMetaData.type,
displayName: dataTypeMetaData.displayName,
timeType: dataTypeMetaData.timeType,
);