mirror of
https://github.com/wger-project/flutter.git
synced 2026-02-18 00:17:48 +01:00
Use better type for requirements
(which are not editable on the flutter application anyway)
This commit is contained in:
@@ -32,9 +32,6 @@ class BaseConfig {
|
||||
@JsonKey(required: true)
|
||||
late int iteration;
|
||||
|
||||
// @JsonKey(required: true)
|
||||
// late String trigger;
|
||||
|
||||
@JsonKey(required: true, fromJson: stringOrIntToNum)
|
||||
late num value;
|
||||
|
||||
@@ -48,7 +45,7 @@ class BaseConfig {
|
||||
late bool repeat;
|
||||
|
||||
@JsonKey(required: true, name: 'requirements')
|
||||
late dynamic requirements;
|
||||
late Map<String, dynamic>? requirements;
|
||||
|
||||
BaseConfig({
|
||||
required this.id,
|
||||
|
||||
Reference in New Issue
Block a user