discontinuedPackage refreshed has been discontinued and replaced by getxify.

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. Returns true if the object is blank; otherwise, returns false.
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 additional info. Allows specifying a custom logFunction 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 additional info. Allows specifying a custom printFunction to handle the printing.