menu
sealed_writer package
documentation
sealed_writer.dart
StringUtils
withBracesOrNot method
withBracesOrNot method
dark_mode
light_mode
withBracesOrNot
method
String
withBracesOrNot
(
)
add braces or not if empty
Implementation
String withBracesOrNot() => trim().isEmpty ? '' : withBraces();
sealed_writer package
documentation
sealed_writer
StringUtils
withBracesOrNot method
StringUtils extension on
String