rules/text/is_required library

Classes

IsRequired
Validates that the input is not empty after trimming.

Functions

isNotEmpty(String? string) bool
trim the string then checks if isNotEmpty