DeviceMsg constructor
DeviceMsg({
- DevMsgType? msgType,
- String? userId,
- List<
int> ? data,
Implementation
factory DeviceMsg({
DevMsgType? msgType,
$core.String? userId,
$core.List<$core.int>? data,
}) {
final result = create();
if (msgType != null) result.msgType = msgType;
if (userId != null) result.userId = userId;
if (data != null) result.data = data;
return result;
}