toJson method
Implementation
Map<String, dynamic> toJson() => <String, dynamic>{
if (muted != null) 'muted': muted,
if (volume != null) 'volume': volume,
if (useSurfaceView != null) 'useSurfaceView': useSurfaceView,
if (bidNotify != null) 'bidNotify': bidNotify,
if (shakeButton != null) 'shakeButton': shakeButton,
if (enablePreload != null) 'enablePreload': enablePreload,
if (scenarioId != null) 'scenarioId': scenarioId,
if (extras != null) 'extras': extras,
if (customData != null) 'customData': customData,
if (fallback != null) 'fallback': fallback!.toJson(),
};