ConnectionInfo constructor

ConnectionInfo({
  1. Int64? connections,
  2. Int64? inboundConnections,
  3. Int64? outboundConnections,
})

Implementation

factory ConnectionInfo({
  $fixnum.Int64? connections,
  $fixnum.Int64? inboundConnections,
  $fixnum.Int64? outboundConnections,
}) {
  final _result = create();
  if (connections != null) {
    _result.connections = connections;
  }
  if (inboundConnections != null) {
    _result.inboundConnections = inboundConnections;
  }
  if (outboundConnections != null) {
    _result.outboundConnections = outboundConnections;
  }
  return _result;
}