Disconnect constructor

Disconnect({
  1. Device? sender,
})

Implementation

factory Disconnect({
  Device? sender,
}) {
  final $result = create();
  if (sender != null) {
    $result.sender = sender;
  }
  return $result;
}