NyStr extension

Extensions for String

on

Methods

dd({String? tag}) → dynamic

Available on String?, provided by the NyStr extension

dump the value to the console and exit the app. tag is optional.
dump({String? tag}) → dynamic

Available on String?, provided by the NyStr extension

dump the value to the console. tag is optional.
parseJson() → dynamic

Available on String?, provided by the NyStr extension

jsonDecode a String.
toDateTime() DateTime

Available on String?, provided by the NyStr extension

Attempt to convert a String to a DateTime.
toHexColor() Color

Available on String?, provided by the NyStr extension