discontinuedPackage butter_extensions has been discontinued.

ButterStringValidator extension

on

Methods

lengthBetween(int min, int max) → bool

Available on String, provided by the ButterStringValidator extension

Returns true if the string length is between the given values
maxLength(int max) → bool

Available on String, provided by the ButterStringValidator extension

minLength(int min) → bool

Available on String, provided by the ButterStringValidator extension

Returns true if the string length is smaller than or equals the given value