isBlank function Null safety
- String? v
True if the provided String value v
is null or blank (whitespace only)
since 0.0.1
Implementation
bool isBlank(final String? v) => isNull(v) || v!.trim().isEmpty;
True if the provided String value v
is null or blank (whitespace only)
since 0.0.1
bool isBlank(final String? v) => isNull(v) || v!.trim().isEmpty;