get All Templates
suspend fun getAllTemplates( context: Context, categoryUUID: String? = null, searchKeyword: String? = null): List<STWTemplate>?
Content copied to clipboard
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.Content copied to clipboard
category UUID
**String** the category uuidContent copied to clipboard
search Keyword
**String : ** to get only templates with name
containing this keyword, put empty string to get all templatesContent copied to clipboard