quoted_string 0.1.1 copy "quoted_string: ^0.1.1" to clipboard
quoted_string: ^0.1.1 copied to clipboard

String quoting/unquoting. Provides an extension on String with quote() and unquote() methods.

quoted_string #

String quoting/unquoting in Dart.

import 'package:quoted_string/quoted_string.dart';

void main() {
  // "Quote (\") and backslash (\\)"
  print(r'Quote (") and backslash (\)'.quote());

  // Quote (") and backslash (\)
  print(r'"Quote (\") and backslash (\\)"'.unquote());
}
0
likes
160
pub points
0%
popularity

Publisher

verified publisherkarapetov.com

String quoting/unquoting. Provides an extension on String with quote() and unquote() methods.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

More

Packages that depend on quoted_string