getAllTemplates

suspend fun getAllTemplates(    context: Context,     categoryUUID: String? = null,     searchKeyword: String? = null): List<STWTemplate>?

Gets the full list of templates that matching the keyword.

Empty categoryUUID will return the full list of templates present in all categories.

Empty keyWord will return the full list of templates.

It should be called only from a coroutine or another suspend function

Return

The List of STWTemplate found.

Parameters

context
    **Context** The application context.
categoryUUID
    **String** the category uuid
searchKeyword
    **String : ** to get only templates with name
    containing this keyword, put empty string to get all templates