cpd_2022_zi/lib/models/settings.dart

14 lines
349 B
Dart
Raw Normal View History

2023-02-17 13:47:52 +01:00
class Settings {
final String group;
final String key;
//final List<String> relapseCategories;
Settings(this.group, this.key); //, this.relapseCategories);
Settings.fromJson(Map<String, dynamic> json)
: group = json['group'].toString(),
key = json['key'].toString()
//relapseCategories = json['relapse_categories']
;
}