toJson method
Implementation
Map<String, dynamic> toJson() {
return {
'devices': devices.map((e) => e.toJson()).toList(),
'driverBugWorkarounds': [...driverBugWorkarounds],
'videoDecoding': videoDecoding.map((e) => e.toJson()).toList(),
'videoEncoding': videoEncoding.map((e) => e.toJson()).toList(),
'imageDecoding': imageDecoding.map((e) => e.toJson()).toList(),
if (auxAttributes != null) 'auxAttributes': auxAttributes,
if (featureStatus != null) 'featureStatus': featureStatus,
};
}