diff --git a/README.md b/README.md index f8a3512..ab7d1d7 100644 --- a/README.md +++ b/README.md @@ -38,9 +38,9 @@ dependencies: json2yaml supports the optional argument to customize YAML formatting for various use cases. At the moment, it supports the three following formatting styles: -- YamlStyle.generic (default) -- generic Yaml rendering -- YamlStyle.pubspecYaml -- Yaml formatting style mimicking pubspec.yaml files -- YamlStyle.pubspecLock -- Yaml formatting style mimicking pubspec.lock files generated by Dart pub +- YamlStyle.generic (default) -- Default formatting style applicable in most cases +- YamlStyle.pubspecYaml -- YAML formatting style following pubspec.yaml formatting conventions +- YamlStyle.pubspecLock -- YAML formatting style following pubspec.lock formatting conventions YAML style is supplied as an optional argument to json2yaml(): diff --git a/lib/src/json2yaml.dart b/lib/src/json2yaml.dart index 6d39a17..5a5318b 100644 --- a/lib/src/json2yaml.dart +++ b/lib/src/json2yaml.dart @@ -24,7 +24,7 @@ /// Yaml formatting control options enum YamlStyle { - /// Default formatting style applicable to most of situations + /// Default formatting style applicable in most cases generic, /// YAML formatting style following pubspec.yaml formatting conventions