Map<String, dynamic> toJson() { return { 'stiffness': stiffness, 'compliance': compliance, 'engineeringConstants': engineeringConstants }; }