call method
calling helper with given name? attributes and parsing function
Implementation
String call(String? helper, List<dynamic> attributes, Function? fn) {
if (helper == null || helper.isEmpty) {
throw Exception('Helper name not specified');
}
if (_helpers == null || !_helpers!.containsKey(helper)) {
throw Exception('Helper "$helper" is not registered');
}
return _helpers![helper]!(attributes, fn);
}