endsWith method

bool endsWith(
  1. String other
)

Implementation

bool endsWith(String other) => text.endsWith(other);