Created
July 28, 2020 14:11
-
-
Save PatilShreyas/48105dc35dde136a9e818548bc769770 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
data class CellLocation( | |
val status: String, | |
val message: String?, | |
val accuracy: Int? = null, | |
val address: String? = null, | |
@Json(name = "lat") | |
val latitude: Double? = null, | |
@Json(name = "lon") | |
val longitude: Double? = null | |
) { | |
fun isSuccess() = status == "ok" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment