equals method

bool equals(
  1. Object other
)

Implementation

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