getTemplateByIdOrName abstract method

Future<MessageTemplateV1?> getTemplateByIdOrName(
  1. String? correlationId,
  2. String idOrName
)

Gets a template by its unique id or name.

  • correlationId (optional) transaction id to trace execution through call chain.
  • idOrName an unique id or name of template to be retrieved. Return Future that receives template or error.

Implementation

Future<MessageTemplateV1?> getTemplateByIdOrName(
    String? correlationId, String idOrName);