operator == method

  1. @override
bool operator ==(
  1. Object other
)
override

Compares content only, as Jinja2 and llama.cpp do: part boundaries, input markers and isSafe do not affect equality or hashCode.

Implementation

@override
bool operator ==(Object other) =>
    identical(this, other) ||
    other is JinjaString && toString() == other.toString();