Publisher constructor

Publisher({
  1. Publisher_Device? device,
  2. Publisher_External? external,
})

Implementation

factory Publisher({
  Publisher_Device? device,
  Publisher_External? external,
}) {
  final _result = create();
  if (device != null) {
    _result.device = device;
  }
  if (external != null) {
    _result.external = external;
  }
  return _result;
}