Browse Source

refactor(neon): make OptionsCategory immutable

Signed-off-by: Nikolas Rimikis <rimikis.nikolas@gmail.com>
pull/497/head
Nikolas Rimikis 1 year ago
parent
commit
bdf94c6070
No known key found for this signature in database
GPG Key ID: 85ED1DE9786A4FF2
  1. 4
      packages/neon/neon/lib/src/settings/models/options_category.dart

4
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'; import 'package:neon/src/models/label_builder.dart';
@immutable
class OptionsCategory { class OptionsCategory {
OptionsCategory({ const OptionsCategory({
required this.name, required this.name,
}); });

Loading…
Cancel
Save