NyStringExt extension

Extensions for String

on

Methods

dd({String? tag}) → void

Available on String, provided by the NyStringExt extension

dump the value to the console and exit the app. tag is optional. On web the exit step is skipped (dart:io's exit() is unavailable).
dump({String? tag, bool alwaysPrint = false}) → void

Available on String, provided by the NyStringExt extension

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

Available on String, provided by the NyStringExt extension

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

Available on String, provided by the NyStringExt extension

Convert a string to boolean.