logic-circuits-simulator/lib/models/project.dart
Dan Cojocaru 1e65e42115
Implemented simulation
For now just the code, without UI that shows the simulation.
However, the code works.
Also added ground work for visual designer.
2022-06-20 12:35:46 +03:00

14 lines
414 B
Dart

import 'package:freezed_annotation/freezed_annotation.dart';
import 'package:logic_circuits_simulator/models.dart';
part 'project.freezed.dart';
part 'project.g.dart';
@freezed
class ProjectIndex with _$ProjectIndex {
const factory ProjectIndex({
required List<ComponentEntry> components,
}) = _ProjectIndex;
factory ProjectIndex.fromJson(Map<String, Object?> json) => _$ProjectIndexFromJson(json);
}