d4t_formulas/.pub-cache/hosted/pub.dev/yaml-3.1.3/example/example.dart
Álvaro González 1d339653d5 feat: add formula data classes with strict JSON parsing
- 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
2025-08-21 17:15:00 +02:00

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']);
}