toMap method
Implementation
Map<String, dynamic> toMap() {
List<Map<String, dynamic>>? storeConfigs =
finStoreConfigs.map((e) => e.toMap()).toList();
return {
"finStoreConfigs": storeConfigs,
"userId": userId,
"channel": channel,
"phone": phone,
"productIdentification": productIdentification,
"disableRequestPermissions": disableRequestPermissions,
"appletAutoAuthorize": appletAutoAuthorize,
"disableGetSuperviseInfo": disableGetSuperviseInfo,
"ignoreWebviewCertAuth": ignoreWebviewCertAuth,
"appletIntervalUpdateLimit": appletIntervalUpdateLimit,
"apmExtendInfo": apmExtendInfo,
"startCrashProtection": startCrashProtection,
"enableApmDataCompression": enableApmDataCompression,
"encryptServerData": encryptServerData,
"appletDebugMode": appletDebugMode.index,
"enableWatermark": enableWatermark,
"watermarkPriority": watermarkPriority.index,
"baseLoadingViewClass": baseLoadingViewClass,
"baseLoadFailedViewClass": baseLoadFailedViewClass,
"header": header,
"headerPriority": headerPriority.index,
"enableH5AjaxHook": enableH5AjaxHook,
"h5AjaxHookRequestKey": h5AjaxHookRequestKey,
"pageCountLimit": pageCountLimit,
"schemes": schemes,
"debug": debug,
"maxRunningApplet": maxRunningApplet,
"webViewMixedContentMode": webViewMixedContentMode,
"bindAppletWithMainProcess": bindAppletWithMainProcess,
"killAppletProcessNotice": killAppletProcessNotice,
"minAndroidSdkVersion": minAndroidSdkVersion,
"enableScreenShot": enableScreenShot,
"screenShotPriority": screenShotPriority.index,
"logLevel": logLevel.index,
"logMaxAliveSec": logMaxAliveSec,
"logDir": logDir,
"enablePreNewProcess": enablePreNewProcess,
"language": language.index,
"useLocalTbsCore": useLocalTbsCore,
"tbsCoreUrl": tbsCoreUrl,
"enableJ2V8": enableJ2V8,
"customLanguagePath": customLanguagePath,
"backgroundFetchPeriod": backgroundFetchPeriod,
"localeLanguage": localeLanguage,
};
}