toJson method

Map<String, dynamic> toJson()

Implementation

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