https://github.com/f3ath/dart-quoted-string
String quoting/unquoting in Dart.
https://github.com/f3ath/dart-quoted-string
Last synced: 6 months ago
JSON representation
String quoting/unquoting in Dart.
- Host: GitHub
- URL: https://github.com/f3ath/dart-quoted-string
- Owner: f3ath
- License: mit
- Created: 2023-10-10T04:44:14.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-10-11T00:46:01.000Z (over 2 years ago)
- Last Synced: 2025-04-25T13:04:54.800Z (9 months ago)
- Language: Dart
- Size: 5.86 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# quoted_string
String quoting/unquoting in Dart.
```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());
}
```