utils/functions/assert_nullable_string library
Functions
-
assertNullableString(
{dynamic value, bool allowNullable = false}) → void -
Asserts that the given
value
is a String, and optionally allows null if specified.
value
is a String,
and optionally allows null if specified.