/// /// LDP_PresentParams.kt /// This file was generated by nitrogen. DO NOT MODIFY THIS FILE. /// https://github.com/mrousavy/nitro /// Copyright © 2025 Marc Rousavy @ Margelo /// package com.margelo.nitro.lunardatepicker import androidx.annotation.Keep import com.facebook.proguard.annotations.DoNotStrip import com.margelo.nitro.core.* /** * Represents the JavaScript object/struct "LDP_PresentParams". */ @DoNotStrip @Keep data class LDP_PresentParams @DoNotStrip @Keep constructor( val theme: String, val language: String, val title: String, val textCancel: String, val mode: LDP_PickerMode, val onDone: (result: LDP_Range) -> Unit, val minimumDate: String?, val maximumDate: String?, val initialValue: LDP_Range?, val prices: Array?, val onMonthVisible: ((month: String) -> Unit)?, val onSelectFromDate: ((date: String, currentlyVisibleMonths: Array) -> Unit)? ) { @DoNotStrip @Keep @Suppress("unused") private constructor(theme: String, language: String, title: String, textCancel: String, mode: LDP_PickerMode, onDone: Func_void_LDP_Range, minimumDate: String?, maximumDate: String?, initialValue: LDP_Range?, prices: Array?, onMonthVisible: Func_void_std__string?, onSelectFromDate: Func_void_std__string_std__vector_std__string_?) : this(theme, language, title, textCancel, mode, onDone as (result: LDP_Range) -> Unit, minimumDate, maximumDate, initialValue, prices, onMonthVisible?.let { it } as ((month: String) -> Unit)?, onSelectFromDate?.let { it } as ((date: String, currentlyVisibleMonths: Array) -> Unit)?) }