You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
414 B
14 lines
414 B
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); |
|
}
|
|
|