GetDynamicUtils extension

Extension on dynamic to provide utility methods for dynamic objects.

on
  • dynamic

Properties

isBlank bool?
Checks if the dynamic object is null, empty, or consists only of whitespace. Returns true if the object is blank; otherwise, returns false.
no setter

Methods

printError({String info = '', Function logFunction = GetUtils.printFunction}) → void
Prints an error message with optional additional info. Allows specifying a custom logFunction to handle the printing.
printInfo({String info = '', Function printFunction = GetUtils.printFunction}) → void
Prints an information message with optional additional info. Allows specifying a custom printFunction to handle the printing.