equals method

bool equals(
  1. Object other
)

Implementation

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