getTemplate static method

Future<Object?> getTemplate(
  1. String templateName
)

Implementation

static Future<Object?> getTemplate(String templateName) async {
  var template = await _templates;

  if (template.containsKey(templateName)) {
    return template.get(templateName);
  }

  return null;
}