validateTemplate method

bool validateTemplate(
  1. String template
)

Implementation

bool validateTemplate(String template) {
  final result = templatesStore.findFirstSync(_instance,
      finder: Finder(
          filter: Filter.and([
        Filter.equals("name", template),
      ])));
  return result != null;
}