Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

there is no assign method #1920

Closed
maxzod opened this issue Jan 12, 2022 · 0 comments · Fixed by dart-lang/yaml_edit#17
Closed

there is no assign method #1920

maxzod opened this issue Jan 12, 2022 · 0 comments · Fixed by dart-lang/yaml_edit#17

Comments

@maxzod
Copy link

maxzod commented Jan 12, 2022

in the readme.md

import 'package:yaml_edit/yaml_edit.dart';

void main() {
  final yamlEditor = YamlEditor('{YAML: YAML}');
  yamlEditor.assign(['YAML'], "YAML Ain't Markup Language");
  print(yamlEditor);
  // Expected output:
  // {YAML: YAML Ain't Markup Language}
}

https://github.com/dart-lang/yaml_edit/blob/0ae689745e5796e12d77f93f7c2b2bfff7310489/README.md?plain=1#L14
but YamlEditor does not contains this method

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants