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