getTemplateOrNull

abstract suspend fun getTemplateOrNull(code: String): Template?(source)

Requests the Template with the given code. returns null when the template isn't present.

Throws

if something went wrong while retrieving the template.