- Add VariableSpec class with magnitude field validation - Add Formula class supporting multiple input/output variables - Support d4rt_code as string or object with code field - Add comprehensive tests for parsing and serialization - Fix broken test import in pruebas_d4rt_test.dart Follows README.md format requirements exactly
13 lines
379 B
Dart
13 lines
379 B
Dart
// Copyright (c) 2020, the Dart project authors.
|
|
// Copyright (c) 2006, Kirill Simonov.
|
|
//
|
|
// Use of this source code is governed by an MIT-style
|
|
// license that can be found in the LICENSE file or at
|
|
// https://opensource.org/licenses/MIT.
|
|
|
|
import 'package:yaml/yaml.dart';
|
|
|
|
void main() {
|
|
var doc = loadYaml("YAML: YAML Ain't Markup Language") as Map;
|
|
print(doc['YAML']);
|
|
}
|