is/is_byte_length library

Functions

isByteLength(String str, int min, [int? max]) bool
check if the string's length (in bytes) falls in a range.