bool equals(Object other) => identical(this, other) || other is TemplateNode && runtimeType == other.runtimeType && template == other.template;