- 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
15 lines
275 B
Dart
15 lines
275 B
Dart
import 'dart:async';
|
|
|
|
import 'package:stack_trace/stack_trace.dart';
|
|
|
|
void main() {
|
|
Chain.capture(_scheduleAsync);
|
|
}
|
|
|
|
void _scheduleAsync() {
|
|
Future<void>.delayed(const Duration(seconds: 1)).then((_) => _runAsync());
|
|
}
|
|
|
|
void _runAsync() {
|
|
throw StateError('oh no!');
|
|
}
|