isByteLength method

bool isByteLength(
  1. int min, [
  2. int? max
])

Checks if the string's UTF-8 byte length falls in a range.

Implementation

bool isByteLength(int min, [int? max]) {
  return _isByteLength(this, min, max);
}