get

suspend fun get(context: Context, index: Int): A

Gets the children element at index. May throw IndexOutOfBoundsException if children have not been loaded.

Author

Arnau Mora

Since

20210413

Throws

When the specified index does not exist


suspend fun get(context: Context, objectId: String): A?

Finds an DataClass inside a list with an specific id. If it's not found, null is returned.

Author

Arnau Mora

Since

20210413

Parameters

objectId

The id to search