/// /// NitroFormDataPart.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.nitrofetch import androidx.annotation.Keep import com.facebook.proguard.annotations.DoNotStrip /** * Represents the JavaScript object/struct "NitroFormDataPart". */ @DoNotStrip @Keep data class NitroFormDataPart( @DoNotStrip @Keep val name: String, @DoNotStrip @Keep val value: String?, @DoNotStrip @Keep val fileUri: String?, @DoNotStrip @Keep val fileName: String?, @DoNotStrip @Keep val mimeType: String? ) { /* primary constructor */ companion object { /** * Constructor called from C++ */ @DoNotStrip @Keep @Suppress("unused") @JvmStatic private fun fromCpp(name: String, value: String?, fileUri: String?, fileName: String?, mimeType: String?): NitroFormDataPart { return NitroFormDataPart(name, value, fileUri, fileName, mimeType) } } }