NyString extension

Extensions for String

on

Methods

dd({String? tag}) → void

Available on String, provided by the NyString extension

dump the value to the console and exit the app. tag is optional.
dump({String? tag, bool alwaysPrint = false}) → void

Available on String, provided by the NyString extension

dump the value to the console. tag is optional. alwaysPrint is optional.
toBool() → bool

Available on String, provided by the NyString extension

Convert a string to boolean.
tryParseBool() → bool?

Available on String, provided by the NyString extension

Convert a string to boolean.