toJson method
Implementation
Map<String, dynamic> toJson() {
return {
'clientId': clientId,
'network': network.name,
'sdkUrl': sdkUrl,
'walletSdkUrl': walletSdkUrl,
'buildEnv': buildEnv?.name,
'redirectUrl': redirectUrl.toString(),
'whiteLabel': whiteLabel?.toJson(),
'loginConfig': loginConfig,
'useCoreKitKey': useCoreKitKey,
'chainNamespace': chainNamespace?.name,
'mfaSettings': mfaSettings,
"sessionTime": sessionTime,
"chainConfig": chainConfig?.toJson(),
"originData": originData
};
}