Sign in
dart
/
yaml_edit
/
refs/tags/2.0.0
/
.
/
example
/
example.dart
blob: d49c39bc5fb48b595ca25e4bc31bf33260c4d3f4 [
file
] [
log
] [
blame
]
import
'package:yaml_edit/yaml_edit.dart'
;
void
main
()
{
final
doc
=
YamlEditor
(
'''
- 0 # comment 0
- 1 # comment 1
- 2 # comment 2
'''
);
doc
.
remove
([
1
]);
print
(
doc
);
}