getTemplateById abstract method

Future<MessageTemplateV1?> getTemplateById(
  1. String? correlationId,
  2. String id
)

Gets a template by its unique id.

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

Implementation

Future<MessageTemplateV1?> getTemplateById(String? correlationId, String id);