toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final bucket = this.bucket;
  final enabled = this.enabled;
  final includeCookies = this.includeCookies;
  final prefix = this.prefix;
  return {
    if (bucket != null) 'Bucket': bucket,
    if (enabled != null) 'Enabled': enabled,
    if (includeCookies != null) 'IncludeCookies': includeCookies,
    if (prefix != null) 'Prefix': prefix,
  };
}