toJson method

Map<String, dynamic> toJson()

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(),
  };
}