Mark models as immutable

This commit is contained in:
Roland Geider
2026-06-15 22:55:20 +02:00
parent 341dec6d99
commit 6d9ead5c9b
2 changed files with 6 additions and 0 deletions

View File

@@ -16,6 +16,9 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
import 'package:flutter/foundation.dart';
@immutable
class RepetitionUnit {
final int id;
final String name;

View File

@@ -16,6 +16,9 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
import 'package:flutter/foundation.dart';
@immutable
class WeightUnit {
final int id;
final String name;