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. Returnstrueif 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 customlogFunctionto 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 customprintFunctionto handle the printing.