toMap method
Converts this codec capability to a map using the native field names.
Implementation
Map<String, Object> toMap() {
return <String, Object>{
'name': name,
'isEncoder': isEncoder,
'supportedTypes': supportedTypes,
'isHardwareAccelerated': isHardwareAccelerated,
'isSoftwareOnly': isSoftwareOnly,
'isVendor': isVendor,
'supportedVideoTypes': supportedVideoTypes,
'supportedAudioTypes': supportedAudioTypes,
};
}