NetAddr constructor

NetAddr({
  1. Transport? transport,
  2. String? hostname,
  3. num? port,
})

Implementation

factory NetAddr({
  _i4.Transport? transport,
  _i2.String? hostname,
  _i2.num? port,
}) =>
    NetAddr._(
      transport: transport?.name ?? _i6.undefined,
      hostname: hostname,
      port: port,
    );