Expression.fromJson constructor
Implementation
factory Expression.fromJson(Map<String, dynamic> data) =>
switch (data[keyType]) {
BooleanExpression.expressionType => BooleanExpression.fromJson(data),
ChoiceExpression.expressionType => ChoiceExpression.fromJson(data),
NotExpression.expressionType => NotExpression.fromJson(data),
_ => throw UnknownJsonTypeError(data[keyType])
};