FlutterUxConfig.fromJson constructor
FlutterUxConfig.fromJson(
- Map<String, dynamic> json
)
Implementation
factory FlutterUxConfig.fromJson(Map<String, dynamic> json) {
var userAppKey = json[FlutterUxConfigKeys.userAppKey];
var config = FlutterUxConfig(userAppKey: userAppKey);
config.enableMultiSessionRecord =
json[FlutterUxConfigKeys.enableMultiSessionRecord];
config.enableCrashHandling = json[FlutterUxConfigKeys.enableCrashHandling];
config.enableAutomaticScreenNameTagging =
json[FlutterUxConfigKeys.enableAutomaticScreenNameTagging];
config.enableNetworkLogging =
json[FlutterUxConfigKeys.enableNetworkLogging];
config.enableAdvancedGestureRecognition =
json[FlutterUxConfigKeys.enableAdvancedGestureRecognition];
return config;
}