factory ExprRecord.fromJson(Map<String, Object?> json) { return ExprRecord({ for (final entry in json.entries) entry.key: Expr.fromJson(entry.value as Map<String, Object?>) }); }