/// /// Locator.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.reactnativereadium import androidx.annotation.Keep import com.facebook.proguard.annotations.DoNotStrip /** * Represents the JavaScript object/struct "Locator". */ @DoNotStrip @Keep data class Locator( @DoNotStrip @Keep val href: String, @DoNotStrip @Keep val type: String, @DoNotStrip @Keep val target: Double?, @DoNotStrip @Keep val title: String?, @DoNotStrip @Keep val locations: LocatorLocations?, @DoNotStrip @Keep val text: LocatorText? ) { /* primary constructor */ companion object { /** * Constructor called from C++ */ @DoNotStrip @Keep @Suppress("unused") @JvmStatic private fun fromCpp(href: String, type: String, target: Double?, title: String?, locations: LocatorLocations?, text: LocatorText?): Locator { return Locator(href, type, target, title, locations, text) } } }