CustomProtocolDevice constructor

CustomProtocolDevice({
  1. String roleName = CustomProtocolDevice.DEFAULT_ROLENAME,
  2. List<String>? supportedDataTypes,
})

Create a new CustomProtocolDevice device descriptor. If roleName is not specified, then the DEFAULT_ROLENAME is used.

Implementation

CustomProtocolDevice({
  super.roleName = CustomProtocolDevice.DEFAULT_ROLENAME,
  super.supportedDataTypes,
});