Datasync Value
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 (kotlinx.serialization.Serializable-annotated classes or POJO classes).
Functions
child Or Null
Link copied to clipboard
converted As List
Link copied to clipboard
Convenient shortcut to convertToListOf, which returns null
in case of failure.
converted As Map
Link copied to clipboard
Convenient shortcut to convertToMapOf, which returns null
in case of failure.
convert To
Link copied to clipboard
Converts this DatasyncValue to a given T type.
convert To List Of
Link copied to clipboard
Converts this DatasyncValue to a List of a given T type.
convert To Map Of
Link copied to clipboard
Content copied to clipboard
Converts this DatasyncValue to a Map of a given T type.