Status constructor

Status({
  1. Map<String, int>? analogs,
  2. Map<String, Int64>? digitalInterrupts,
})

Implementation

factory Status({
  $core.Map<$core.String, $core.int>? analogs,
  $core.Map<$core.String, $fixnum.Int64>? digitalInterrupts,
}) {
  final $result = create();
  if (analogs != null) {
    $result.analogs.addAll(analogs);
  }
  if (digitalInterrupts != null) {
    $result.digitalInterrupts.addAll(digitalInterrupts);
  }
  return $result;
}