DynamicExtension extension
Extension on dynamic to provide utility methods for dynamic objects.
- on
-
- dynamic
Properties
- isBlank → bool?
-
Available on dynamic, provided by the DynamicExtension extension
Checks if the dynamic object is null, empty, or consists only of whitespace. Returnstrue
if the object is blank; otherwise, returnsfalse
.no setter
Methods
-
printError(
{String info = "", Function logFunction = GetUtils.printFunction}) → void -
Available on dynamic, provided by the DynamicExtension extension
Prints an error message with optional additionalinfo
. Allows specifying a customlogFunction
to handle the printing. -
printInfo(
{String info = "", Function printFunction = GetUtils.printFunction}) → void -
Available on dynamic, provided by the DynamicExtension extension
Prints an information message with optional additionalinfo
. Allows specifying a customprintFunction
to handle the printing.