toJson method
Implementation
Map<String, dynamic> toJson() {
final bucket = this.bucket;
final encryptionDisabled = this.encryptionDisabled;
final encryptionKey = this.encryptionKey;
final packaging = this.packaging;
final path = this.path;
return {
if (bucket != null) 'bucket': bucket,
if (encryptionDisabled != null) 'encryptionDisabled': encryptionDisabled,
if (encryptionKey != null) 'encryptionKey': encryptionKey,
if (packaging != null) 'packaging': packaging.toValue(),
if (path != null) 'path': path,
};
}