getAsInt

fun getAsInt(number: Any?, defaultValue: Int): Int
fun getAsInt(    imgDetails: Map<String, *>?,     key: String?,     defaultValue: Int): Int