/// /// PlaceDetails.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.googleplaces import androidx.annotation.Keep import com.facebook.proguard.annotations.DoNotStrip /** * Represents the JavaScript object/struct "PlaceDetails". */ @DoNotStrip @Keep data class PlaceDetails( @DoNotStrip @Keep val name: String, @DoNotStrip @Keep val formatted_address: String, @DoNotStrip @Keep val place_id: String, @DoNotStrip @Keep val latitude: Double, @DoNotStrip @Keep val longitude: Double, @DoNotStrip @Keep val address_components: Array ) { /* primary constructor */ companion object { /** * Constructor called from C++ */ @DoNotStrip @Keep @Suppress("unused") @JvmStatic private fun fromCpp(name: String, formatted_address: String, place_id: String, latitude: Double, longitude: Double, address_components: Array): PlaceDetails { return PlaceDetails(name, formatted_address, place_id, latitude, longitude, address_components) } } }