toJson method
Implementation
Map<String, dynamic> toJson() {
final cookiesAllowList = this.cookiesAllowList;
final option = this.option;
return {
if (cookiesAllowList != null) 'cookiesAllowList': cookiesAllowList,
if (option != null) 'option': option.toValue(),
};
}