Companion

object Companion

Functions

Link copied to clipboard
fun decode(data: Any?): LocalitiesTypes?

Returns a valid LocalitiesTypes for data, null otherwise.

Link copied to clipboard
fun encode(data: Any?): String?

Converts the provided data to a String on success, null otherwise.