toJson method

Map<String, dynamic> toJson()

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 ?? {};
}