/// /// NitroCropConfig.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.multipleimagepicker import androidx.annotation.Keep import com.facebook.proguard.annotations.DoNotStrip /** * Represents the JavaScript object/struct "NitroCropConfig". */ @DoNotStrip @Keep data class NitroCropConfig( @DoNotStrip @Keep val language: Language, @DoNotStrip @Keep val presentation: Presentation, @DoNotStrip @Keep val circle: Boolean?, @DoNotStrip @Keep val ratio: Array, @DoNotStrip @Keep val defaultRatio: CropRatio?, @DoNotStrip @Keep val freeStyle: Boolean? ) { /* primary constructor */ companion object { /** * Constructor called from C++ */ @DoNotStrip @Keep @Suppress("unused") @JvmStatic private fun fromCpp(language: Language, presentation: Presentation, circle: Boolean?, ratio: Array, defaultRatio: CropRatio?, freeStyle: Boolean?): NitroCropConfig { return NitroCropConfig(language, presentation, circle, ratio, defaultRatio, freeStyle) } } }