toJson method
Implementation
Map<String, dynamic> toJson() {
// If mobileVitalsType exists, return it directly as the JSON structure
// This matches the native SDK format where mobile_vitals_context is a flat map
return mobileVitalsType ?? {};
}