toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  return {
    FlutterUxConfigKeys.userAppKey: userAppKey,
    FlutterUxConfigKeys.enableMultiSessionRecord: enableMultiSessionRecord,
    FlutterUxConfigKeys.enableCrashHandling: enableCrashHandling,
    FlutterUxConfigKeys.enableAutomaticScreenNameTagging:
        enableAutomaticScreenNameTagging,
    FlutterUxConfigKeys.enableNetworkLogging: enableNetworkLogging,
    FlutterUxConfigKeys.enableAdvancedGestureRecognition:
        enableAdvancedGestureRecognition,
    FlutterUxConfigKeys.occlusion:
        occlusions?.map((occlusion) => occlusion.toJson()).toList()
  };
}