toJson method
Implementation
Map<String, dynamic> toJson() {
Map<String, dynamic> jsonObject = <String, dynamic>{};
if (appId != null) jsonObject.putIfAbsent("appId", () => appId);
if (bizState != null) jsonObject.putIfAbsent("bizState", () => bizState);
if (enableDarkMode != null) {
jsonObject.putIfAbsent("enableDarkMode", () => enableDarkMode);
}
if (sdkOpts != null) jsonObject.putIfAbsent("sdkOpts", () => sdkOpts);
return jsonObject;
}