DeviceLog constructor

DeviceLog({
  1. List<int>? deviceId,
  2. List<int>? eventId,
  3. List<int>? jobId,
  4. Timestamp? received,
  5. DeviceLog_Type? type,
  6. String? msg,
  7. List<int>? data,
  8. Timestamp? created,
})

Implementation

factory DeviceLog({
  $core.List<$core.int>? deviceId,
  $core.List<$core.int>? eventId,
  $core.List<$core.int>? jobId,
  $3.Timestamp? received,
  DeviceLog_Type? type,
  $core.String? msg,
  $core.List<$core.int>? data,
  $3.Timestamp? created,
}) {
  final _result = create();
  if (deviceId != null) {
    _result.deviceId = deviceId;
  }
  if (eventId != null) {
    _result.eventId = eventId;
  }
  if (jobId != null) {
    _result.jobId = jobId;
  }
  if (received != null) {
    _result.received = received;
  }
  if (type != null) {
    _result.type = type;
  }
  if (msg != null) {
    _result.msg = msg;
  }
  if (data != null) {
    _result.data = data;
  }
  if (created != null) {
    _result.created = created;
  }
  return _result;
}