toJson method
Keys merged into the config JSON handed to synheart_core_new. Absent
keys mean "undeclared", which is not the same as a declared default.
Implementation
Map<String, dynamic> toJson() => <String, dynamic>{
if (sensing != null) 'sensing': _wire(sensing),
if (deviceClass != null) 'device_class': _wire(deviceClass),
if (maskProfile != null) 'mask_profile': _wire(maskProfile),
if (cfiStructuralComponents != null)
'cfi_structural_components': cfiStructuralComponents,
if (notificationsObservable != null)
'notifications_observable': notificationsObservable,
};