Datasync Valuable
class DatasyncValuable
Content copied to clipboard
Represents a tree-like value stored by the Webcom datasync service within its real-time database.
This class provides methods to easily convert it to native primitive or composite types (Boolean, String, Number, Map, List) or business objects (Serializable
-annotated classes or POJO classes).
Functions
convertedAsList
Link copied to clipboard
convertedAsMap
Link copied to clipboard
convertTo
Link copied to clipboard
convertToListOf
Link copied to clipboard
convertToMapOf
Link copied to clipboard
fun <T : Any> convertToMapOf(type: KClass<T>): WebcomResult<Map<String, T>>
Content copied to clipboard