fromJson static method
Implementation
static SQLCondition? fromJson(dynamic json) {
if (json == null) {
return null;
} else if (json is List) {
return SQLConditionValue.fromJson(json);
} else if (json is Map) {
return SQLConditionGroup.fromJson(json.map((k, v) => MapEntry("$k", v)));
} else {
throw StateError("Unknown condition JSON: $json");
}
}