/// /// NetConfig.kt /// This file was generated by nitrogen. DO NOT MODIFY THIS FILE. /// https://github.com/mrousavy/nitro /// Copyright © Marc Rousavy @ Margelo /// package com.margelo.nitro.net import androidx.annotation.Keep import com.facebook.proguard.annotations.DoNotStrip /** * Represents the JavaScript object/struct "NetConfig". */ @DoNotStrip @Keep data class NetConfig( @DoNotStrip @Keep val workerThreads: Double?, @DoNotStrip @Keep val debug: Boolean? ) { /* primary constructor */ companion object { /** * Constructor called from C++ */ @DoNotStrip @Keep @Suppress("unused") @JvmStatic private fun fromCpp(workerThreads: Double?, debug: Boolean?): NetConfig { return NetConfig(workerThreads, debug) } } }