NullableStringExtensions extension

on

Properties

isBlank bool
Null safe check if string is blank.
no setter

Methods

containsAny(List<Pattern> searchPatterns, [int startIndex = 0]) bool
or(String other) String
Returns the string itself if not null otherwise the other string.
startsWithAny(List<Pattern> prefixes, [int index = 0]) bool
Null safe check if the string starts with any of given prefixes.