endsWith method

bool? endsWith(
  1. String other
)

Implementation

bool? endsWith(String other) {
  return value?.endsWith(other);
}