/// /// PAM_ToastParams.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.progressandmodal import androidx.annotation.Keep import com.facebook.proguard.annotations.DoNotStrip /** * Represents the JavaScript object/struct "PAM_ToastParams". */ @DoNotStrip @Keep data class PAM_ToastParams( @DoNotStrip @Keep val message: String, @DoNotStrip @Keep val backgroundColor: String, @DoNotStrip @Keep val textColor: String, @DoNotStrip @Keep val fontSize: Double?, @DoNotStrip @Keep val image: PAM_NativeAssetSource?, @DoNotStrip @Keep val imageSize: Double?, @DoNotStrip @Keep val duration: Double? ) { /* primary constructor */ companion object { /** * Constructor called from C++ */ @DoNotStrip @Keep @Suppress("unused") @JvmStatic private fun fromCpp(message: String, backgroundColor: String, textColor: String, fontSize: Double?, image: PAM_NativeAssetSource?, imageSize: Double?, duration: Double?): PAM_ToastParams { return PAM_ToastParams(message, backgroundColor, textColor, fontSize, image, imageSize, duration) } } }