toJSON method
Convert config to json
Implementation
@override
Map<String, dynamic> toJSON() {
return <String, dynamic>{
'appId': appId,
'debug': debug,
'allowShowNotify': allowShowNotify,
'supportMultiProcess': supportMultiProcess,
'directDownloadNetworkType': directDownloadNetworkType,
'paid': isPaidApp,
'useTextureView': useTextureView,
'titleBarTheme': titleBarTheme.index,
'isCanUseLocation': isCanUseLocation,
'location': location?.toJson(),
'isCanUsePhoneState': isCanUsePhoneState,
'devImei': devImei,
'isCanUseWifiState': isCanUseWifiState,
'isCanUseWriteExternal': isCanUseWriteExternal,
'devOaid': devOaid,
};
}