menu
rpmtw_dart_common_library package
documentation
rpmtw_dart_common_library.dart
StringExtension
toBool method
toBool method
dark_mode
light_mode
toBool
method
bool
toBool
(
)
Converts the string to boolean.
'true' -> true 'false' -> false
Implementation
bool toBool() => this == 'true';
rpmtw_dart_common_library package
documentation
rpmtw_dart_common_library
StringExtension
toBool method
StringExtension extension on
String