NetworkInterface constructor

NetworkInterface({
  1. String? network,
  2. String? subnetwork,
  3. String? internalIp,
  4. String? externalIp,
})

Implementation

factory NetworkInterface({
  $core.String? network,
  $core.String? subnetwork,
  $core.String? internalIp,
  $core.String? externalIp,
}) {
  final $result = create();
  if (network != null) {
    $result.network = network;
  }
  if (subnetwork != null) {
    $result.subnetwork = subnetwork;
  }
  if (internalIp != null) {
    $result.internalIp = internalIp;
  }
  if (externalIp != null) {
    $result.externalIp = externalIp;
  }
  return $result;
}