Condition.fromJson constructor
Condition.fromJson(
- Object? j
Implementation
factory Condition.fromJson(Object? j) {
final json = j as Map<String, Object?>;
return Condition(
stringValue: switch (json['stringValue']) {
null => null,
Object $1 => decodeString($1),
},
numericValue: switch (json['numericValue']) {
null => null,
Object $1 => decodeDouble($1),
},
operation: switch (json['operation']) {
null => Condition_Operator.$default,
Object $1 => Condition_Operator.fromJson($1),
},
);
}