getNotificationTemplate static method
Gets the notification template with key.
Implementation
static Future<SbTemplate?> getNotificationTemplate({
required String key,
}) async {
final template = await _instance._cacheManager.getTemplate(key: key);
if (template != null) {
return SbTemplate.fromJson(template);
}
return null;
}