Event constructor

Event({
  1. Timestamp? time,
  2. String? event,
  3. String? control,
  4. double? value,
})

Implementation

factory Event({
  $44.Timestamp? time,
  $core.String? event,
  $core.String? control,
  $core.double? value,
}) {
  final $result = create();
  if (time != null) {
    $result.time = time;
  }
  if (event != null) {
    $result.event = event;
  }
  if (control != null) {
    $result.control = control;
  }
  if (value != null) {
    $result.value = value;
  }
  return $result;
}