matches method

bool matches(
  1. String value
)

Implementation

bool matches(String value) {
  return value.isNotEmpty && value == stringValue;
}