toJson method
Implementation
Map<String, dynamic> toJson() {
return {
'name': name,
if (sysex != null) 'sysex': sysex,
if (userVisibleOnly != null) 'userVisibleOnly': userVisibleOnly,
if (allowWithoutSanitization != null)
'allowWithoutSanitization': allowWithoutSanitization,
if (allowWithoutGesture != null)
'allowWithoutGesture': allowWithoutGesture,
if (panTiltZoom != null) 'panTiltZoom': panTiltZoom,
};
}