getTemplateByIdOrName method

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

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

@override
Future<MessageTemplateV1?> getTemplateByIdOrName(
    String? correlationId, String idOrName) async {
  return null;
}