toMap method
Converts the configuration to a map for platform communication.
Implementation
Map<String, dynamic> toMap() {
return {
'enableFrameCapture': enableFrameCapture,
'autoStartRecording': autoStartRecording,
'alwaysUseRemoteConfig': alwaysUseRemoteConfig,
if (Platform.isAndroid) 'prefersDialogMode': prefersDialogMode,
'supportWidgetTheme': supportWidgetTheme.toMap(),
};
}