From bdf94c6070116e9b33601afce2cf323fbb569072 Mon Sep 17 00:00:00 2001 From: Nikolas Rimikis Date: Tue, 29 Aug 2023 17:13:36 +0200 Subject: [PATCH] refactor(neon): make OptionsCategory immutable Signed-off-by: Nikolas Rimikis --- .../neon/neon/lib/src/settings/models/options_category.dart | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/neon/neon/lib/src/settings/models/options_category.dart b/packages/neon/neon/lib/src/settings/models/options_category.dart index d563c210..be93457d 100644 --- a/packages/neon/neon/lib/src/settings/models/options_category.dart +++ b/packages/neon/neon/lib/src/settings/models/options_category.dart @@ -1,7 +1,9 @@ +import 'package:meta/meta.dart'; import 'package:neon/src/models/label_builder.dart'; +@immutable class OptionsCategory { - OptionsCategory({ + const OptionsCategory({ required this.name, });