equals method

bool equals(
  1. dynamic other
)

Implementation

bool equals(other) => other is LinkElement && other.text == text;